Scroll to navigation

STRUID(3) Library Functions Manual STRUID(3)

NAME

struid - return user name given user number

SYNOPSIS

char* struid(int uid)

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)