view modules/pipe @ 13745:6328b8d2c617

Separate the module 'waitpid' from the module 'sys_wait'. * lib/sys_wait.in.h (waitpid): Declare only if the 'waitpid' module is present. * m4/sys_wait_h.m4 (gl_SYS_WAIT_MODULE_INDICATOR): Invoke gl_MODULE_INDICATOR_FOR_TESTS. (gl_SYS_WAIT_H_DEFAULTS): Initialize GNULIB_WAITPID. * modules/sys_wait (Depends-on): Remove waitpid. (Makefile.am): Substitute GNULIB_WAITPID. * modules/waitpid (configure.ac): Invoke gl_SYS_WAIT_MODULE_INDICATOR. * tests/test-sys_wait-c++.cc (GNULIB_NAMESPACE::waitpid): Check the signature only if the 'waitpid' module is present. * doc/posix-functions/waitpid.texi: Mention the 'waitpid' module. * NEWS: Mention the change. * modules/grantpt (Depends-on): Add waitpid. * modules/wait-process (Depends-on): Likewise.
author Bruno Haible <bruno@clisp.org>
date Wed, 29 Sep 2010 16:14:55 +0200
parents c30020975750
children 5be0c314f2f8
line wrap: on
line source

Description:
Creation of subprocesses, communicating via pipes.

Files:
lib/pipe.h
lib/pipe.c
lib/w32spawn.h
m4/pipe.m4

Depends-on:
cloexec
dup2
environ
error
exit
fatal-signal
gettext-h
open
pipe2
pipe2-safer
spawn
posix_spawnp
posix_spawn_file_actions_init
posix_spawn_file_actions_addclose
posix_spawn_file_actions_adddup2
posix_spawn_file_actions_addopen
posix_spawn_file_actions_destroy
posix_spawnattr_init
posix_spawnattr_setsigmask
posix_spawnattr_setflags
posix_spawnattr_destroy
stdbool
strpbrk
unistd
unistd-safer
wait-process

configure.ac:
gl_PIPE

Makefile.am:
lib_SOURCES += pipe.h pipe.c w32spawn.h

Include:
"pipe.h"

License:
GPL

Maintainer:
Bruno Haible