Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2011 21:35:49 +0000 (UTC)
From:      Giorgos Keramidas <keramida@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r217605 - stable/7/lib/libc/sys
Message-ID:  <201101192135.p0JLZncd090017@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: keramida (doc committer)
Date: Wed Jan 19 21:35:48 2011
New Revision: 217605
URL: http://svn.freebsd.org/changeset/base/217605

Log:
  MFC r199985 from /head
  
  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>

Modified:
  stable/7/lib/libc/sys/setpgid.2
Directory Properties:
  stable/7/lib/libc/   (props changed)
  stable/7/lib/libc/stdtime/   (props changed)

Modified: stable/7/lib/libc/sys/setpgid.2
==============================================================================
--- stable/7/lib/libc/sys/setpgid.2	Wed Jan 19 21:35:48 2011	(r217604)
+++ stable/7/lib/libc/sys/setpgid.2	Wed Jan 19 21:35:48 2011	(r217605)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101192135.p0JLZncd090017>