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
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
- Functions:
getpwuid()
PTC MKS Toolkit 10.5 Documentation Build 40.