X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/blobdiff_plain/8b8bd88793f2f52709056380e619e79ccf393cfd..ed5d57202ebab0e923eb8e9d967a9f97792a6e8f:/lib/libc/gen/pwcache.3 diff --git a/lib/libc/gen/pwcache.3 b/lib/libc/gen/pwcache.3 index 86f330fa8b..6c69b7c2ca 100644 --- a/lib/libc/gen/pwcache.3 +++ b/lib/libc/gen/pwcache.3 @@ -9,10 +9,6 @@ .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. -.\" 3. All advertising materials mentioning features or use of this software -.\" must display the following acknowledgement: -.\" This product includes software developed by the University of -.\" California, Berkeley and its contributors. .\" 4. Neither the name of the University nor the names of its contributors .\" may be used to endorse or promote products derived from this software .\" without specific prior written permission. @@ -30,10 +26,10 @@ .\" SUCH DAMAGE. .\" .\" @(#)pwcache.3 8.1 (Berkeley) 6/9/93 -.\" $FreeBSD: src/lib/libc/gen/pwcache.3,v 1.6.2.4 2001/12/14 18:33:51 ru Exp $ +.\" $FreeBSD: src/lib/libc/gen/pwcache.3,v 1.15 2007/01/09 00:27:55 imp Exp $ .\" $DragonFly: src/lib/libc/gen/pwcache.3,v 1.2 2003/06/17 04:26:42 dillon Exp $ .\" -.Dd June 9, 1993 +.Dd March 22, 2002 .Dt PWCACHE 3 .Os .Sh NAME @@ -42,11 +38,12 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In stdlib.h -.Ft char * -.Fn user_from_uid "unsigned long uid" "int nouser" -.Ft char * -.Fn group_from_gid "unsigned long gid" "int nogroup" +.In pwd.h +.Ft const char * +.Fn user_from_uid "uid_t uid" "int nouser" +.In grp.h +.Ft const char * +.Fn group_from_gid "gid_t gid" "int nogroup" .Sh DESCRIPTION The .Fn user_from_uid