Debian Codegraph @

upstream/debian-unstable/man3/audit_is_enabled.3

raw
1 .TH "AUDIT_IS_ENABLED" "3" "May 2021" "Red Hat" "Linux Audit API"
2 .SH NAME
3 audit_is_enabled \- judge whether auditing is enabled or not
4 .SH "SYNOPSIS"
5 .nf
6 .B #include <libaudit.h>
7 .PP
8 .BI "int audit_is_enabled(int " fd ");
9 .fi
10 .SH "DESCRIPTION"
11 .BR audit_is_enabled ()
12 judges whether auditing is enabled or not.
13 .I fd
14 must have been returned by
15 .BR audit_open (3).
16
17 .SH "RETURN VALUE"
18
19 This function will return 0 if auditing is NOT enabled and 1 if enabled, and -1 on error.
20
21 .SH "SEE ALSO"
22
23 .BR audit_set_enabled (3).
24
25 .SH AUTHOR
26 Steve Grubb
27