BSD 4_3 release
[unix-history] / usr / man / man2 / setgroups.2
index f2e2f57..2bc906d 100644 (file)
@@ -1,5 +1,11 @@
-.TH SETGROUPS 2 "7 July 1983"
-.UC 4
+.\" Copyright (c) 1983 Regents of the University of California.
+.\" All rights reserved.  The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\"    @(#)setgroups.2 6.3 (Berkeley) 5/13/86
+.\"
+.TH SETGROUPS 2 "May 13, 1986"
+.UC 5
 .SH NAME
 setgroups \- set group access list
 .SH SYNOPSIS
 .SH NAME
 setgroups \- set group access list
 .SH SYNOPSIS
@@ -19,7 +25,7 @@ according to the array
 The parameter
 .I ngroups
 indicates the number of entries in the array and must be no
 The parameter
 .I ngroups
 indicates the number of entries in the array and must be no
-more than NGRPS, as defined in
+more than NGROUPS, as defined in
 .RI < sys/param.h >.
 .PP
 Only the super-user may set new groups.
 .RI < sys/param.h >.
 .PP
 Only the super-user may set new groups.
@@ -37,3 +43,9 @@ The address specified for \fIgidset\fP is outside the process
 address space.
 .SH "SEE ALSO
 getgroups(2), initgroups(3X)
 address space.
 .SH "SEE ALSO
 getgroups(2), initgroups(3X)
+.SH BUGS
+The
+.I gidset
+array should be of type
+.BR gid_t ,
+but remains integer for compatibility with earlier systems.