Debian Codegraph @

upstream/debian-unstable/man3/audit_name_to_syscall.3

raw
1 .TH "AUDIT_NAME_TO_SYSCALL" "3" "Nov 2021" "Red Hat" "Linux Audit API"
2 .SH NAME
3 audit_name_to_syscall \- Convert the syscall name to the numeric syscall value
4 .SH "SYNOPSIS"
5 .nf
6 .B #include <libaudit.h>
7 .PP
8 .BI "int audit_name_to_syscall(const char " *sc ", int " machine );
9 .fi
10 .SH "DESCRIPTION"
11 .BR audit_name_to_syscall ()
12 converts the syscall name to the numeric syscall value.
13 .I sc
14 is the syscall name.
15 .I machine
16 is the enum value of the machine type defined in machine_t.
17 .I machine
18 can be obtained by calling
19 .BR audit_detect_machine (3).
20
21 .SH "RETURN VALUE"
22
23 Returns -1 if an error occurs; otherwise, the return value is the numeric syscall value.
24
25 .SH "SEE ALSO"
26
27 .BR audit_syscall_to_name (3),
28 .BR audit_detect_machine (3).
29
30 .SH AUTHOR
31 Steve Grubb