summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-04-11 09:11:53 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2005-04-11 09:11:53 +0000
commit5c477709a8f3aa3110d51ae872950c20ff14fed6 (patch)
tree7e0d206fb658324180b0cc8446682e20826c9435 /pod/perlfunc.pod
parent4e74047cb351e6ecf0af03b245859dc97e98c072 (diff)
downloadperl-5c477709a8f3aa3110d51ae872950c20ff14fed6.tar.gz
Make the four-argument form of select() return undef
instead of -1 on error. p4raw-id: //depot/perl@24223
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod3
1 files changed, 1 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 0fceb30dcc..552587aa5a 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -4603,8 +4603,7 @@ Note that whether C<select> gets restarted after signals (say, SIGALRM)
is implementation-dependent. See also L<perlport> for notes on the
portability of C<select>.
-On error, C<select> behaves like the select(2) system call : it returns
--1 and sets C<$!>.
+On error, C<select> returns C<undef> and sets C<$!>.
B<WARNING>: One should not attempt to mix buffered I/O (like C<read>
or <FH>) with C<select>, except as permitted by POSIX, and even