logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

audit_is_enabled - judge whether auditing is enabled or not

Author

Steve Grubb Red Hat May 2021 AUDIT_IS_ENABLED(3)

Description

audit_is_enabled() judges whether auditing is enabled or not. fd must have been returned by audit_open(3).

Name

audit_is_enabled - judge whether auditing is enabled or not

Return Value

This function will return 0 if auditing is NOT enabled and 1 if enabled, and -1 on error.

See Also

audit_set_enabled(3).

Synopsis

#include<libaudit.h>intaudit_is_enabled(intfd);
return

See Also