Query: audit_getloginuid
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
AUDIT_GETLOGINUID(3) Linux Audit API AUDIT_GETLOGINUID(3)NAMEaudit_getloginuid - Get a program's loginuid valueSYNOPSIS#include <libaudit.h> uid_t audit_getloginuid(void);DESCRIPTIONThis function returns the task attribute loginuid.RETURN VALUEThis function returns the loginuid value if it was set. It will return a -1 if loginuid was unset. However, since uid_t is an unsigned type, you will see the converted value instead of -1.ERRORSThis function returns -1 on failure. However, in the event of a real error, errno would be set. The function can set errno based on fail- ures of open, read, or strtoul.SEE ALSOaudit_setloginuid(3).AUTHORSteve Grubb Red Hat Oct 2006 AUDIT_GETLOGINUID(3)