diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-05-28 18:36:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-05-28 18:36:30 -0400 |
commit | c97f0d998cae23472ea30564663a8612dcfb6f83 (patch) | |
tree | 3f18a824e04b327d6e0ec606934fdd5f7c863f87 /src/process/posix_spawnattr_getpgroup.c | |
parent | 3a17f757a80816961cd1fbf4664a5cbb02563b2d (diff) | |
download | musl-c97f0d998cae23472ea30564663a8612dcfb6f83.tar.gz musl-c97f0d998cae23472ea30564663a8612dcfb6f83.tar.bz2 musl-c97f0d998cae23472ea30564663a8612dcfb6f83.tar.xz musl-c97f0d998cae23472ea30564663a8612dcfb6f83.zip |
initial implementation of posix_spawn
file actions are not yet implemented, but everything else should be
mostly complete and roughly correct.
Diffstat (limited to 'src/process/posix_spawnattr_getpgroup.c')
-rw-r--r-- | src/process/posix_spawnattr_getpgroup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/process/posix_spawnattr_getpgroup.c b/src/process/posix_spawnattr_getpgroup.c new file mode 100644 index 00000000..2c72e985 --- /dev/null +++ b/src/process/posix_spawnattr_getpgroup.c @@ -0,0 +1,7 @@ +#include <spawn.h> + +int posix_spawnattr_getpgroup(const posix_spawnattr_t *attr, pid_t *pgrp) +{ + *pgrp = attr->__pgrp; + return 0; +} |