Add posix_spawn() and posix_spawnp().
authorPeter Avalos <pavalos@theshell.com>
Sun, 15 Feb 2009 20:46:03 +0000 (15:46 -0500)
committerPeter Avalos <pavalos@theshell.com>
Tue, 7 Apr 2009 07:09:23 +0000 (21:09 -1000)
commitc4dd129bff0d01b2410934902463ac3f4293f711
tree3965f77ecda6fec4da4e31b19a0c6252fc4505d7
parent002b43cee0ca9230139247743a594fa9eb6b973c
Add posix_spawn() and posix_spawnp().

Also add execvP() which takes the search path as an argument.

Obtained-from: FreeBSD
17 files changed:
include/Makefile
include/spawn.h [new file with mode: 0644]
lib/libc/gen/Makefile.inc
lib/libc/gen/exec.3
lib/libc/gen/exec.c
lib/libc/gen/posix_spawn.3 [new file with mode: 0644]
lib/libc/gen/posix_spawn.c [new file with mode: 0644]
lib/libc/gen/posix_spawn_file_actions_addopen.3 [new file with mode: 0644]
lib/libc/gen/posix_spawn_file_actions_init.3 [new file with mode: 0644]
lib/libc/gen/posix_spawnattr_getflags.3 [new file with mode: 0644]
lib/libc/gen/posix_spawnattr_getpgroup.3 [new file with mode: 0644]
lib/libc/gen/posix_spawnattr_getschedparam.3 [new file with mode: 0644]
lib/libc/gen/posix_spawnattr_getschedpolicy.3 [new file with mode: 0644]
lib/libc/gen/posix_spawnattr_getsigdefault.3 [new file with mode: 0644]
lib/libc/gen/posix_spawnattr_getsigmask.3 [new file with mode: 0644]
lib/libc/gen/posix_spawnattr_init.3 [new file with mode: 0644]
lib/libc/include/libc_private.h