1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Describe what setpgid(2) does when pgid=0. The text has been

copied from NetBSD's manpage, and it also matches the behavior
described by the Open Group's online copy of setpgid.2 at
http://www.opengroup.org/onlinepubs/009695399/functions/setpgid.html

Obtained from:	NetBSD
Submitted by:	Petros Barbayiannis <petrosbarbayiannis@yahoo.gr>
MFC after:	1 week
This commit is contained in:
Giorgos Keramidas 2009-12-01 06:12:31 +00:00
parent 20f492f0eb
commit 84518325ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=199985

View File

@ -54,6 +54,11 @@ to the specified
If
.Fa pid
is zero, then the call applies to the current process.
If
.Fa pgrp
is zero, then the process id of the process specified by
.Fa pid
is used instead.
.Pp
If the affected process is not the invoking process, then it must be a
child of the invoking process, it must not have performed an