Author: pjd Date: Mon Feb 20 20:46:27 2012 New Revision: 231945 URL: http://svn.freebsd.org/changeset/base/231945
Log: Document the fact that getgrouplist(3) returns 0 on success. MFC after: 3 days Modified: head/lib/libc/gen/getgrouplist.3 Modified: head/lib/libc/gen/getgrouplist.3 ============================================================================== --- head/lib/libc/gen/getgrouplist.3 Mon Feb 20 20:31:05 2012 (r231944) +++ head/lib/libc/gen/getgrouplist.3 Mon Feb 20 20:46:27 2012 (r231945) @@ -28,7 +28,7 @@ .\" @(#)getgrouplist.3 8.1 (Berkeley) 6/9/93 .\" $FreeBSD$ .\" -.Dd June 9, 1993 +.Dd February 20, 2012 .Dt GETGROUPLIST 3 .Os .Sh NAME @@ -64,7 +64,7 @@ the actual number of groups found is ret The .Fn getgrouplist function -returns \-1 if the size of the group list is too small to +returns 0 on success and \-1 if the size of the group list is too small to hold all the user's groups. Here, the group array will be filled with as many groups as will fit. .Sh FILES _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"