setaudit(2) BSD System Calls Manual setaudit(2)
NAME
setaudit -- set the audit information for the current process
SYNOPSIS
#include <bsm/audit.h>
int
setaudit(const struct auditinfo * auditinfo);
DESCRIPTION
The setaudit() function sets the audit information for the current
process. auditinfo should point at a struct auditinfo describing the
requested user audit settings.
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), getaudit(2)
HISTORY
The setaudit() function call first appeared in Mac OS X 10.3 (Panther).
Darwin July 30, 2007 Darwin
Mac OS X 10.7 - Generated Mon Nov 7 20:13:34 CST 2011
