Mercurial > hg > octave-shane > gnulib-hg
changeset 14591:a5714f0caebd
nonblocking: Add comment.
* lib/fcntl.in.h (O_NONBLOCK): Add comment.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 17 Apr 2011 23:16:13 +0200 |
parents | e0d0a4052520 |
children | cc17a319ded6 |
files | ChangeLog lib/fcntl.in.h |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-04-17 Bruno Haible <bruno@clisp.org> + + nonblocking: Add comment. + * lib/fcntl.in.h (O_NONBLOCK): Add comment. + 2011-04-17 Bruno Haible <bruno@clisp.org> nonblocking: Add tests for sockets.
--- a/lib/fcntl.in.h +++ b/lib/fcntl.in.h @@ -218,6 +218,9 @@ # define O_NONBLOCK O_NDELAY #endif +/* If the gnulib module 'nonblocking' is in use, guarantee a working non-zero + value of O_NONBLOCK. Otherwise, O_NONBLOCK is defined (above) to O_NDELAY + or to 0 as fallback. */ #if @GNULIB_NONBLOCKING@ # if O_NONBLOCK # define GNULIB_defined_O_NONBLOCK 0