Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2012 20:46:27 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r231945 - head/lib/libc/gen
Message-ID:  <201202202046.q1KKkRLG067255@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202202046.q1KKkRLG067255>