From f95d0b421acb386c54bf5ceeb80deffd67b176ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Fri, 4 Mar 2005 13:56:49 +0000 Subject: [PATCH] added a setpgrp impl git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11574 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/posix/unistd/process.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/kernel/libroot/posix/unistd/process.c b/src/kernel/libroot/posix/unistd/process.c index 71295e2acc..b68e5e7c83 100644 --- a/src/kernel/libroot/posix/unistd/process.c +++ b/src/kernel/libroot/posix/unistd/process.c @@ -73,6 +73,13 @@ setpgid(pid_t process, pid_t group) } +int +setpgrp(void) +{ + return setpgid(0, 0); +} + + pid_t setsid(void) {