Hash :
77a06aac
Author :
Date :
2010-09-29T16:14:55
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.
Description:
Waiting for a subprocess to finish.
Files:
lib/wait-process.h
lib/wait-process.c
m4/wait-process.m4
m4/sig_atomic_t.m4
Depends-on:
fatal-signal
error
exit
xalloc
gettext-h
stdbool
sys_wait
unistd
atexit
waitpid
configure.ac:
gl_WAIT_PROCESS
Makefile.am:
lib_SOURCES += wait-process.h wait-process.c
Include:
"wait-process.h"
License:
GPL
Maintainer:
Bruno Haible