summaryrefslogtreecommitdiff
path: root/manual/llio.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-09-26 14:49:32 +0000
committerUlrich Drepper <drepper@redhat.com>2005-09-26 14:49:32 +0000
commit76de2021b90254d8f7fc71141582d9473f57a6f0 (patch)
treea76cdd630a037162c3a4a48e6c3ece2139bde250 /manual/llio.texi
parent560b47093fedfc210e2020d93c20fcfe3e620312 (diff)
downloadglibc-76de2021b90254d8f7fc71141582d9473f57a6f0.tar.gz
[BZ #162]
2005-09-26 Ulrich Drepper <drepper@redhat.com> [BZ #162] * manual/llio.texi (Waiting for I/O): Correct description of read conditions reported by select.
Diffstat (limited to 'manual/llio.texi')
-rw-r--r--manual/llio.texi12
1 files changed, 7 insertions, 5 deletions
diff --git a/manual/llio.texi b/manual/llio.texi
index 4ac6c5fa4f..863b3b4316 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