struid3
Return user name given user number
Usage
$1$2char* struid(int uid)char* struid(int uid)char* struid(int uid)char* struid(int uid)char* struid(int uid)char* struid(int uid)char* struid(int uid)char* struid(int uid)
Overview
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).
Releases
Unchanged in 135 releases since Mac OS X 10.4.