summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/getpgrp.216
-rw-r--r--lib/libc/sys/setregid.215
-rw-r--r--lib/libc/sys/setreuid.215
3 files changed, 12 insertions, 34 deletions
diff --git a/lib/libc/sys/getpgrp.2 b/lib/libc/sys/getpgrp.2
index adc9ab9701b..b2d95ca32c9 100644
--- a/lib/libc/sys/getpgrp.2
+++ b/lib/libc/sys/getpgrp.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getpgrp.2,v 1.14 2007/07/21 20:35:28 jmc Exp $
+.\" $OpenBSD: getpgrp.2,v 1.15 2012/06/26 21:27:44 tedu Exp $
.\" $NetBSD: getpgrp.2,v 1.8 1995/02/27 12:33:09 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getpgrp.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: July 21 2007 $
+.Dd $Mdocdate: June 26 2012 $
.Dt GETPGRP 2
.Os
.Sh NAME
@@ -91,13 +91,13 @@ There is no process with a process ID equal to
.Xr setpgid 2 ,
.Xr termios 4
.Sh STANDARDS
-This version of
+The
.Fn getpgrp
-differs from past Berkeley versions by not taking a
+function conforms to
+.St -p1003.1-88 ,
+but differs from past Berkeley versions by not taking a
.Fa "pid_t pid"
argument.
-This incompatibility is required by
-.St -p1003.1-88 .
.Pp
From the
.St -p1003.1-88
@@ -118,10 +118,6 @@ suffices, and the added complexity of the
has been omitted from POSIX.1.
.Pp
The
-.Fn getpgrp
-function conforms to
-.St -p1003.1-88 .
-The
.Fn getpgid
function call is derived from its usage in System V Release 4, and
first appeared in
diff --git a/lib/libc/sys/setregid.2 b/lib/libc/sys/setregid.2
index 26b0d334034..6b92da8c74f 100644
--- a/lib/libc/sys/setregid.2
+++ b/lib/libc/sys/setregid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setregid.2,v 1.6 2008/08/04 07:08:23 jmc Exp $
+.\" $OpenBSD: setregid.2,v 1.7 2012/06/26 21:27:44 tedu Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)setregid.2 8.2 (Berkeley) 4/16/94
.\"
-.Dd $Mdocdate: August 4 2008 $
+.Dd $Mdocdate: June 26 2012 $
.Dt SETREGID 2
.Os
.Sh NAME
@@ -92,17 +92,8 @@ The
function conforms to the
.St -p1003.1-2001
and
-.St -xpg4.3 .
+.St -xpg4.3
specifications.
-.Pp
-Note, however, that prior to
-.St -p1003.1-2001 ,
-the
-.Fn setregid
-function was not a part of the
-.St -p1003.1
-specification.
-As a result, it may not be implemented on all systems.
.Sh HISTORY
The
.Fn setregid
diff --git a/lib/libc/sys/setreuid.2 b/lib/libc/sys/setreuid.2
index 4cf45bb4328..f67a886ecca 100644
--- a/lib/libc/sys/setreuid.2
+++ b/lib/libc/sys/setreuid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setreuid.2,v 1.7 2008/08/04 07:08:23 jmc Exp $
+.\" $OpenBSD: setreuid.2,v 1.8 2012/06/26 21:27:44 tedu Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993, 1994
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)setreuid.2 8.2 (Berkeley) 4/16/94
.\"
-.Dd $Mdocdate: August 4 2008 $
+.Dd $Mdocdate: June 26 2012 $
.Dt SETREUID 2
.Os
.Sh NAME
@@ -92,17 +92,8 @@ The
function conforms to the
.St -p1003.1-2001
and
-.St -xpg4.3 .
+.St -xpg4.3
specifications.
-.Pp
-Note, however, that prior to
-.St -p1003.1-2001 ,
-the
-.Fn setreuid
-function was not a part of the
-.St -p1003.1
-specification.
-As a result, it may not be implemented on all systems.
.Sh HISTORY
The
.Fn setreuid