|
NAMEcuserid —
get user name associated with effective UID
LIBRARYCompatibility Library (libcompat, -lcompat)SYNOPSIS#include <stdio.h>
char *
DESCRIPTIONThe
cuserid () function is made
obsolete by
getpwuid(3).The function If s is NULL, an internal array is used and its address will be returned. RETURN VALUESThecuserid () function returns the address of an array
in which the name has been stored.
If the name associated with the effective UID of the current process could not be found, either a null pointer will be returned, or (if s is non-NULL) the buffer s will be filled with a null string. SEE ALSOgeteuid(2), getpwuid(3)
Visit the GSP FreeBSD Man Page Interface. |