audit_getloginuid man page on Mandriva

Man page or keyword search:  
man Server   17060 pages
apropos Keyword Search (all sections)
Output format
Mandriva logo
[printable version]

AUDIT_GETLOGINUID(3)		Linux Audit API		  AUDIT_GETLOGINUID(3)

NAME
       audit_getloginuid - Get a program's loginuid value

SYNOPSIS
       #include <libaudit.h>

       uid_t audit_getloginuid(void);

DESCRIPTION
       This function returns the task attribute loginuid.

RETURN VALUE
       This  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.


ERRORS
       This  function  returns	-1 on failure. However, in the event of a real
       error, errno would be set. The function can set errno based on failures
       of open, read, or strtoul.

SEE ALSO
       audit_setloginuid(3).

AUTHOR
       Steve Grubb

Red Hat				   Oct 2006		  AUDIT_GETLOGINUID(3)
[top]

List of man pages available for Mandriva

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net