Reference

strgid(3)

return group name given group number

NAME

strgid - return group name given group number

SYNOPSIS

$1$2char* strgid(int gid)char* strgid(int gid)char* strgid(int gid)char* strgid(int gid)char* strgid(int gid)char* strgid(int gid)char* strgid(int gid)char* strgid(int gid)

DESCRIPTION

strgid returns the group id name string given the group number gid. strgid maintains an internal cache to avoid repeated password database scans by the low level getgrgid(3).

SEE ALSO

getgrent(3)