From 76de2021b90254d8f7fc71141582d9473f57a6f0 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 26 Sep 2005 14:49:32 +0000 Subject: [BZ #162] 2005-09-26 Ulrich Drepper [BZ #162] * manual/llio.texi (Waiting for I/O): Correct description of read conditions reported by select. --- manual/llio.texi | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'manual') diff --git a/manual/llio.texi b/manual/llio.texi index 4ac6c5f..863b3b4 100644 --- a/manual/llio.texi +++ b/manual/llio.texi @@ -1582,11 +1582,13 @@ descriptors are checked to see if they are ready for writing; and the conditions. You can pass a null pointer for any of these arguments if you are not interested in checking for that kind of condition. -A file descriptor is considered ready for reading if it is not at end of -file. A server socket is considered ready for reading if there is a -pending connection which can be accepted with @code{accept}; -@pxref{Accepting Connections}. A client socket is ready for writing when -its connection is fully established; @pxref{Connecting}. +A file descriptor is considered ready for reading if a @code{read} +call will not block. This usually includes the read offset being at +the end of the file or there is an error to report. A server socket +is considered ready for reading if there is a pending connection which +can be accepted with @code{accept}; @pxref{Accepting Connections}. A +client socket is ready for writing when its connection is fully +established; @pxref{Connecting}. ``Exceptional conditions'' does not mean errors---errors are reported immediately when an erroneous system call is executed, and do not -- cgit v1.1