SYNOPSIS
#include <pwd.h>
char *user_from_uid(uid_t uid, int nouser);
DESCRIPTION
The
PARAMETERS
- uid
-
Is the user ID for which the user name is to be obtained.
- nouser
-
Indicates what to do in case uid does not correspond to a user name.
RETURN VALUES
Returns the user name corresponding to uid, the ASCII representation of uid, or NULL.
CONFORMANCE
4.4BSD.
MULTITHREAD SAFETY LEVEL
Unsafe.
PORTING ISSUES
None.
AVAILABILITY
MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
getpwuid()
MKS Toolkit 9.3 Documentation Build 6.