Hash :
12856373
Author :
Date :
2011-04-19T10:38:30
Move the support of O_NONBLOCK in open() to the 'open' module. * modules/nonblocking (Depends-on): Remove 'open'. * m4/nonblocking.m4 (gl_NONBLOCKING_IO_BODY): Set gl_cv_have_open_O_NONBLOCK. * m4/open.m4 (gl_FUNC_OPEN): Replace open() also when required for O_NONBLOCK support. * doc/posix-functions/open.texi: Document support for O_NONBLOCK.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
Description:
Read, set or clear the non-blocking file descriptor flag.
Files:
lib/nonblocking.h
lib/nonblocking.c
m4/nonblocking.m4
lib/stdio-read.c
lib/stdio-write.c
m4/asm-underscore.m4
Depends-on:
fcntl-h
ioctl
stdbool
stdio
sys_socket
unistd
configure.ac:
gl_NONBLOCKING_IO
gl_FCNTL_MODULE_INDICATOR([nonblocking])
dnl Define the C macro GNULIB_NONBLOCKING to 1.
gl_MODULE_INDICATOR([nonblocking])
dnl Define the substituted variable GNULIB_STDIO_H_NONBLOCKING to 1.
AC_REQUIRE([gl_STDIO_H_DEFAULTS])
AC_REQUIRE([gl_ASM_SYMBOL_PREFIX])
GNULIB_STDIO_H_NONBLOCKING=1
dnl Define the substituted variable GNULIB_UNISTD_H_NONBLOCKING to 1.
AC_REQUIRE([gl_UNISTD_H_DEFAULTS])
GNULIB_UNISTD_H_NONBLOCKING=1
Makefile.am:
lib_SOURCES += nonblocking.c
Include:
"nonblocking.h"
License:
LGPLv2+
Maintainer:
Bruno Haible, Eric Blake