view modules/posix_spawnattr_getflags @ 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 d1aae7aa69e4
children 10297800b5ad
line wrap: on
line source

Description:
posix_spawnattr_getflags() function: get bitmask of attributes specified for
child process.

Files:
lib/spawnattr_getflags.c
m4/posix_spawn.m4

Depends-on:
spawn

configure.ac:
gl_POSIX_SPAWN
if test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1; then
  gl_REPLACE_SPAWN_H
  AC_LIBOBJ([spawnattr_getflags])
fi
gl_SPAWN_MODULE_INDICATOR([posix_spawnattr_getflags])

Makefile.am:

Include:
<spawn.h>

License:
LGPL

Maintainer:
Bruno Haible, glibc