1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-18 23:42:00 +03:00
Files
gnulib/modules/execute
Eric Blake d8ccc13ba3 cloexec: add dup_cloexec
This is needed to enforce correct semantics of mkostemp_safer.
Meanwhile, it is one step closer to providing O_CLOEXEC support
to open, as well as implementing portions of fcntl for mingw.

* lib/cloexec.h (dup_cloexec): New prototype.  Add copyright
header and comments.
* lib/cloexec.c (set_cloexec_flag): Add comments.
(dup_cloexec): New function, with mingw implementation borrowed
from...
* lib/w32spawn.h (dup_noinherit): ...here.
* modules/execute (Depends-on): Add cloexec.
* modules/pipe (Depends-on): Likewise.
* modules/cloexec (Depends-on): Add dup2.
* modules/cloexec-tests (Files): New file.
* tests/test-cloexec.c: Likewise.

Signed-off-by: Eric Blake <ebb9@byu.net>
2009-12-05 14:29:23 -07:00

46 lines
579 B
Plaintext

Description:
Creation of autonomous subprocesses.
Files:
lib/execute.h
lib/execute.c
lib/w32spawn.h
m4/execute.m4
Depends-on:
cloexec
dup2
error
exit
fatal-signal
wait-process
gettext-h
spawn
posix_spawnp
posix_spawn_file_actions_init
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
environ
configure.ac:
gl_EXECUTE
Makefile.am:
lib_SOURCES += execute.h execute.c w32spawn.h
Include:
"execute.h"
License:
GPL
Maintainer:
Bruno Haible