audit_is_enabled − judge whether auditing is enabled or not
#include <libaudit.h>
int audit_is_enabled(int fd);
audit_is_enabled() judges whether auditing is enabled or not. fd must have been returned by audit_open(3).
This function will return 0 if auditing is NOT enabled and 1 if enabled, and -1 on error.
audit_set_enabled(3).
Steve Grubb