Openbsd-Idcache

OpenBSD::IdCache(3p) Perl Programmers Reference Guide OpenBSD::IdCache(3p)

Openbsd-Idcache

OpenBSD::IdCache(3p) Perl Programmers Reference Guide OpenBSD::IdCache(3p) # OpenBSD::IdCache(3p) Perl Programmers Reference Guide OpenBSD::IdCache(3p) NNAAMMEE # OpenBSD::IdCache - cache for user and group look-ups SSYYNNOOPPSSIISS # use OpenBSD::IdCache; my $ucache = OpenBSD::UidCache->new; my $uid = $ucache->lookup("espie"); my $gcache = OpenBSD::GidCache->new; my $gid = $gcache->lookup("wheel", 0); my $unamecache = OpenBSD::UnameCache->new; my $name = $unamecache->lookup($uid); my $gnamecache = OpenBSD::GnameCache->new; my $grname = $gnamecache->lookup($gid); DDEESSCCRRIIPPTTIIOONN # "OpenBSD::IdCache" provides four classes: "OpenBSD::UidCache" for UIDs, "OpenBSD::GidCache" for GIDs, "OpenBSD::UnameCache" for user names, and "OpenBSD::GnameCache" for group names. ...