diff options
author | Christian Weisgerber <naddy@cvs.openbsd.org> | 2006-08-29 17:55:36 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@cvs.openbsd.org> | 2006-08-29 17:55:36 +0000 |
commit | 917da5642b0e18d3e064f75d0fcef3aba833a77c (patch) | |
tree | f0a24530b9f02c0cd2cc35c0b3bc4f95e6cbf74a | |
parent | 1eea2b74c8f4515abd7c948dc126551b6634f826 (diff) |
If pgrp is zero, the process ID of the specified process is used.
ok jmc@
-rw-r--r-- | lib/libc/sys/setpgid.2 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/sys/setpgid.2 b/lib/libc/sys/setpgid.2 index 02231c8fbd1..f74dd0316c8 100644 --- a/lib/libc/sys/setpgid.2 +++ b/lib/libc/sys/setpgid.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setpgid.2,v 1.10 2003/06/02 20:18:39 millert Exp $ +.\" $OpenBSD: setpgid.2,v 1.11 2006/08/29 17:55:35 naddy Exp $ .\" $NetBSD: setpgid.2,v 1.8 1995/02/27 12:36:55 cgd Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -52,6 +52,9 @@ to the specified If .Ar pid is zero, then the call applies to the current process. +If +.Ar pgrp +is zero, the process ID of the specified process is used. .Pp If the invoker is not the superuser, then the affected process must have the same effective user ID as the invoker or be a descendant |