summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/getgid.27
-rw-r--r--lib/libc/sys/getuid.210
2 files changed, 10 insertions, 7 deletions
diff --git a/lib/libc/sys/getgid.2 b/lib/libc/sys/getgid.2
index d39636937b0..260ccbb0690 100644
--- a/lib/libc/sys/getgid.2
+++ b/lib/libc/sys/getgid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getgid.2,v 1.6 1999/05/23 14:10:51 aaron Exp $
+.\" $OpenBSD: getgid.2,v 1.7 1999/05/27 13:17:28 aaron Exp $
.\" $NetBSD: getgid.2,v 1.5 1995/02/27 12:32:53 cgd Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
@@ -63,7 +63,7 @@ during the execution of
.Dq Em set-group-ID
mode processes,
.Fn getgid
-is used to determine the real-user-id of the calling process.
+is used to determine the real group ID of the calling process.
.Sh ERRORS
The
.Fn getgid
@@ -76,8 +76,9 @@ indicate an error.
.Xr setgid 2 ,
.Xr setregid 2
.Sh STANDARDS
+The
.Fn getgid
and
.Fn getegid
-conform to
+functions conform to
.St -p1003.1-88 .
diff --git a/lib/libc/sys/getuid.2 b/lib/libc/sys/getuid.2
index 9d3d4763d2b..6660c6a03bb 100644
--- a/lib/libc/sys/getuid.2
+++ b/lib/libc/sys/getuid.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getuid.2,v 1.4 1999/05/23 14:10:54 aaron Exp $
+.\" $OpenBSD: getuid.2,v 1.5 1999/05/27 13:17:28 aaron Exp $
.\" $NetBSD: getuid.2,v 1.6 1995/02/27 12:33:37 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -64,7 +64,7 @@ execution of
.Dq Em set-user-ID
mode processes,
.Fn getuid
-is used to determine the real-user-id of the calling process.
+is used to determine the real user ID of the calling process.
.Sh ERRORS
The
.Fn getuid
@@ -74,10 +74,12 @@ functions are always successful, and no return value is reserved to
indicate an error.
.Sh SEE ALSO
.Xr getgid 2 ,
+.Xr setuid 2 ,
.Xr setreuid 2
.Sh STANDARDS
-.Fn geteuid
-and
+The
.Fn getuid
+and
+.Fn geteuid
functions conform to
.St -p1003.1-88 .