STRUID(3)

NAME
struid - return user name given user number

SYNOPSIS

DESCRIPTION
struid returns the user id name string given the user number uid. struid maintains an internal cache to avoid repeated password database scans by the low level getpwuid(3).

SEE ALSO
getpwent(3)