SYNOPSIS
#include <stdio.h>
char *cuserid(char *s);
DESCRIPTION
The
If s is a null pointer, this representation is generated
in an area that may be static (and thus overwritten by subsequent calls
to
A multithreaded application
must not call
PARAMETERS
RETURN VALUES
If s is not a null pointer, s is returned.
If s is not a null pointer and the login name cannot be
determined, the null byte '\0' is placed at *s.
If s is a null pointer and the login name cannot be found,
CONFORMANCE
UNIX 98
MULTITHREAD SAFETY LEVEL
MT-Safe, with exceptions.
This function is only MT-Safe if its parameter is non-NULL.
PORTING ISSUES
This interface is obsolescent;
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:
geteuid() ,getlogin() ,getpwnam() ,getpwuid() ,getuid()
PTC MKS Toolkit 10.5 Documentation Build 40.