.\" Copyright (c) 1989, 1991 The Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)pwcache.3 5.4 (Berkeley) %G%
.Nd cache password and group entries
.Fn user_from_uid "uid_t uid" "int nouser"
.Fn group_from_gid "gid_t gid" "int nogroup"
This interface is not part of the C library.
It has been placed in the Berkeley utility library, libutil, as it is
used by several standard utilities.
function returns the user name associated with the argument
The user name is cached so that multiple calls with the same
do not require additional calls to
If there is no user associated with the
is non-zero, in which case a
function returns the group name associated with the argument
The group name is cached so that multiple calls with the same
do not require additional calls to
If there is no group associated with the
is non-zero, in which case a