mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-17 12:41:05 +03:00
* lib/pipe2.c: Include verify.h. Include nonblocking.h only if O_NONBLOCK is defined by gnulib. (pipe2) [WIN32]: If O_NONBLOCK is not defined by gnulib, verify that it is zero. * modules/pipe2 (Depends-on): Add verify. Remove nonblocking. * tests/test-pipe2.c: Include nonblocking.h only if O_NONBLOCK is defined by gnulib. (get_nonblocking_flag): New function. (main): Test O_NONBLOCK flag only if it is nonzero.
30 lines
342 B
Plaintext
30 lines
342 B
Plaintext
Description:
|
|
pipe2() function: create a pipe, with specific opening flags.
|
|
|
|
Files:
|
|
lib/pipe2.c
|
|
m4/pipe2.m4
|
|
|
|
Depends-on:
|
|
unistd
|
|
fcntl-h
|
|
binary-io
|
|
extensions
|
|
verify
|
|
|
|
configure.ac:
|
|
gl_FUNC_PIPE2
|
|
gl_UNISTD_MODULE_INDICATOR([pipe2])
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += pipe2.c
|
|
|
|
Include:
|
|
<unistd.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
Bruno Haible, Eric Blake
|