Description:
posix_spawn_file_actions_adddup2() function: augment a child process actions
specification.

Files:
lib/spawn_faction_adddup2.c
lib/spawn_int.h
m4/posix_spawn.m4

Depends-on:
spawn-h
getdtablesize                 [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 = 1]
posix_spawn_file_actions_init [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 = 1]

configure.ac:
gl_FUNC_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2
gl_CONDITIONAL([GL_COND_OBJ_SPAWN_FACTION_ADDDUP2],
               [test $HAVE_POSIX_SPAWN = 0 || test $REPLACE_POSIX_SPAWN = 1 || test $REPLACE_POSIX_SPAWN_FILE_ACTIONS_ADDDUP2 = 1])
gl_SPAWN_MODULE_INDICATOR([posix_spawn_file_actions_adddup2])

Makefile.am:
if GL_COND_OBJ_SPAWN_FACTION_ADDDUP2
lib_SOURCES += spawn_faction_adddup2.c
endif

Include:
<spawn.h>

License:
LGPLv2+

Maintainer:
glibc
