File: audit_is_enabled.3

package info (click to toggle)
audit 1%3A3.0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,916 kB
  • sloc: ansic: 57,158; sh: 5,100; python: 2,938; makefile: 1,494; sed: 32
file content (27 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.TH "AUDIT_IS_ENABLED" "3" "May 2021" "Red Hat" "Linux Audit API"
.SH NAME
audit_is_enabled \- judge whether auditing is enabled or not
.SH "SYNOPSIS"
.nf
.B #include <libaudit.h>
.PP
.BI "int audit_is_enabled(int " fd ");
.fi
.SH "DESCRIPTION"
.BR audit_is_enabled ()
judges whether auditing is enabled or not.
.I fd
must have been returned by
.BR audit_open (3).

.SH "RETURN VALUE"

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

.SH "SEE ALSO"

.BR audit_set_enabled (3).

.SH AUTHOR
Steve Grubb