commit | c97f0d998cae23472ea30564663a8612dcfb6f83 | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Sat May 28 18:36:30 2011 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Sat May 28 18:36:30 2011 -0400 |
tree | 3f18a824e04b327d6e0ec606934fdd5f7c863f87 | |
parent | 3a17f757a80816961cd1fbf4664a5cbb02563b2d [diff] [blame] |
initial implementation of posix_spawn file actions are not yet implemented, but everything else should be mostly complete and roughly correct.
diff --git a/src/process/posix_spawnattr_setpgroup.c b/src/process/posix_spawnattr_setpgroup.c new file mode 100644 index 0000000..f39596a --- /dev/null +++ b/src/process/posix_spawnattr_setpgroup.c
@@ -0,0 +1,7 @@ +#include <spawn.h> + +int posix_spawnattr_setpgroup(posix_spawnattr_t *attr, pid_t pgrp) +{ + attr->__pgrp = pgrp; + return 0; +}