svn commit: r199985 - head/lib/libc/sys

Giorgos Keramidas keramida at FreeBSD.org
Tue Dec 1 06:12:31 UTC 2009


Author: keramida (doc committer)
Date: Tue Dec  1 06:12:31 2009
New Revision: 199985
URL: http://svn.freebsd.org/changeset/base/199985

Log:
  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 at yahoo.gr>
  MFC after:	1 week

Modified:
  head/lib/libc/sys/setpgid.2

Modified: head/lib/libc/sys/setpgid.2
==============================================================================
--- head/lib/libc/sys/setpgid.2	Tue Dec  1 06:11:42 2009	(r199984)
+++ head/lib/libc/sys/setpgid.2	Tue Dec  1 06:12:31 2009	(r199985)
@@ -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


More information about the svn-src-head mailing list