changeset 14514:c71d17cff81b

nonblocking: Tweak comment.
author Bruno Haible <bruno@clisp.org>
date Thu, 31 Mar 2011 18:07:13 +0200
parents d6c2edffe836
children b2069b8212d0
files lib/nonblocking.h
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/nonblocking.h
+++ b/lib/nonblocking.h
@@ -26,8 +26,9 @@
    - A write() call returns -1 with errno set to EAGAIN when it cannot
      transport the requested amount of data (but at most one pipe buffer)
      without blocking.
-   Non-blocking I/O is most useful for character devices.  Whether it
-   also works on regular files and block devices is platform dependent.
+   Non-blocking I/O is most useful for character devices, pipes, and sockets.
+   Whether it also works on regular files and block devices is platform
+   dependent.
 
    There are three modern alternatives to non-blocking I/O:
      - use select() or poll() followed by read() or write() if the descriptor