view modules/pipe2 @ 14271:b4cc3c41ca79

libposix: Add _HEADERS primaries to posix modules. Modify gnulib-tool to strip them from generated Makefile.am-s where they are not needed. Also, replace M4 macro prefixes when requested. Finally, omit calls to error() for libposix.
author Bruce Korb <bkorb@gnu.org>
date Sat, 05 Feb 2011 08:22:48 -0800
parents 9deb67d8d0d7
children 722fe41bb185
line wrap: on
line source

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

configure.ac:
gl_FUNC_PIPE2
gl_UNISTD_MODULE_INDICATOR([pipe2])

Makefile.am:
lib_SOURCES += pipe2.c

Include:
<unistd.h>

License:
LGPL

Maintainer:
Bruno Haible, Eric Blake