aboutsummaryrefslogtreecommitdiff
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
parent560b47093fedfc210e2020d93c20fcfe3e620312 (diff)
downloadglibc-76de2021b90254d8f7fc71141582d9473f57a6f0.zip
glibc-76de2021b90254d8f7fc71141582d9473f57a6f0.tar.gz
glibc-76de2021b90254d8f7fc71141582d9473f57a6f0.tar.bz2
[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.
-rw-r--r--ChangeLog6
-rw-r--r--manual/llio.texi12
2 files changed, 13 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 67320a4..7c1cd57 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
2005-09-24 Jakub Jelinek <jakub@redhat.com>
* inet/getnetgrent_r.c (innetgr): Call endfct even if result != 0.
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