From ec8ce15a509319429ec7650026fe4a9ff9f2ee0d Mon Sep 17 00:00:00 2001 From: Hernan Perez Masci Date: Fri, 8 Apr 2005 12:28:28 -0300 Subject: [PATCH] perlfunc.pod: incomplete select description Message-Id: <200504081528.28307.hmasci@uolsinectis.com.ar> p4raw-id: //depot/perl@24224 --- pod/perlfunc.pod | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 552587a..921bc2d 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -4605,6 +4605,12 @@ portability of C returns C and sets C<$!>. +Note: on some Unixes, the select(2) system call may report a socket file +descriptor as "ready for reading", when actually no data is available, +thus a subsequent read blocks. It can be avoided using always the +O_NONBLOCK flag on the socket. See select(2) and fcntl(2) for further +details. + B: One should not attempt to mix buffered I/O (like C or ) with C