manpagez: man pages & more
man getaudit(2)
Home | html | info | man
getaudit(2)                 BSD System Calls Manual                getaudit(2)


NAME

     getaudit -- get the audit information for the current process


SYNOPSIS

     #include <bsm/audit.h>

     int
     getaudit(struct auditinfo * auditinfo);


DESCRIPTION

     The getaudit() function returns a struct auditinfo describing the current
     user audit settings for the calling process. The information is returned
     in the struct pointed at by auditinfo.


RETURN VALUES

     Upon successful completion a value of 0 is returned.  Otherwise, a value
     of -1 is returned and errno is set to indicate the error.


SEE ALSO

     audit(2), auditon(2), auditctl(2), getauid(2), setauid(2), setaudit(2)


HISTORY

     The getaudit() function call first appeared in Mac OS X 10.3 (Panther).

Darwin                           July 30, 2007                          Darwin

Mac OS X 10.7 - Generated Sun Nov 6 17:56:24 CST 2011
© manpagez.com 2000-2018
Individual documents may contain additional copyright information.