dpns_getusrbyuid man page
DPNS_GETUSRBYUID(3) DPNS Library Functions DPNS_GETUSRBYUID(3)
dpns_getusrbyuid - get user name associated with a given virtual uid
[1mint dpns_getusrbyuid (uid_t [4m[22muid[24m[1m, char *[4m[22musername[24m[1m)[0m
[1mdpns_getusrbyuid [22mgets the user name associated with a given virtual
[4muid[24m specifies the Virtual User Id.
points at a buffer to receive the associated user name. The
buffer must be at least 256 characters long.
This routine returns 0 if the operation was successful or -1 if the
operation failed. In the latter case, [1mserrno [22mis set appropriately.
[1mEFAULT [4m[22musername[24m is a NULL pointer.
[1mEINVAL [22mThis uid does not exist in the internal mapping table.
[1mSENOSHOST [22mHost unknown.
[1mSENOSSERV [22mService unknown.
[1mSECOMERR [22mCommunication error.
[1mENSNACT [22mName server is not running or is being shutdown.
DPNS $Date: 2005/10/19 11:30:57 $ DPNS_GETUSRBYUID(3)