diff options
author | Jim Meyering <meyering@lucent.com> | 1996-01-04 23:21:47 +0000 |
---|---|---|
committer | Jim Meyering <meyering@lucent.com> | 1996-01-04 23:21:47 +0000 |
commit | 85f40840015f648c8fdb6dfe7ea462be3884e10c (patch) | |
tree | 6f566754accf5cf046e2127913aa85b362f5d56d /manual | |
parent | 7974fe2117b1308a46f16ae5803c64f75303521c (diff) | |
download | glibc-85f40840015f648c8fdb6dfe7ea462be3884e10c.tar.gz |
Reverse order of arguments in getgroups call (in example) to match prototype.cvs/libc-960106cvs/libc-960105
Diffstat (limited to 'manual')
-rw-r--r-- | manual/users.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/users.texi b/manual/users.texi index c35e8b6a5b..9b5e1ce9b5 100644 --- a/manual/users.texi +++ b/manual/users.texi @@ -246,7 +246,7 @@ IDs: gid_t * read_all_groups (void) @{ - int ngroups = getgroups (NULL, 0); + int ngroups = getgroups (0, NULL); gid_t *groups = (gid_t *) xmalloc (ngroups * sizeof (gid_t)); int val = getgroups (ngroups, groups); |