Support non-blocking pipe I/O in write() on native Windows.
[pspp] / lib / nonblocking.h
index f5835deddb85442bcbd25f2ee43aa34464a76054..48a2da885a8efa651ccd1ebde5bd4398d0624238 100644 (file)
@@ -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