diff options
Diffstat (limited to 'man3/initgroups.3')
| -rw-r--r-- | man3/initgroups.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/initgroups.3 b/man3/initgroups.3 index 94c958e57a..d2397843a1 100644 --- a/man3/initgroups.3 +++ b/man3/initgroups.3 @@ -38,7 +38,7 @@ initgroups \- initialize the supplementary group access list .BI "int initgroups(const char *" user ", gid_t " group ); .fi .SH DESCRIPTION -The \fBinitgroups()\fP function initializes the group access list by +The \fBinitgroups\fP() function initializes the group access list by reading the group database \fI/etc/group\fP and using all groups of which \fIuser\fP is a member. The additional group \fIgroup\fP is also added to the list. @@ -47,7 +47,7 @@ The .I user argument must be non-NULL. .SH "RETURN VALUE" -The \fBinitgroups()\fP function returns 0 on success. +The \fBinitgroups\fP() function returns 0 on success. On error, \-1 is returned, and .I errno is set appropriately. |
