Debian Codegraph @

upstream/debian-unstable/man3/audit_syscall_to_name.3

raw
1 .TH "AUDIT_SYSCALL_TO_NAME" "3" "Nov 2021" "Red Hat" "Linux Audit API"
2 .SH NAME
3 audit_syscall_to_name \- Convert the numeric syscall value to the syscall name
4 .SH "SYNOPSIS"
5 .nf
6 .B #include <libaudit.h>
7 .PP
8 .BI "const char *audit_syscall_to_name(int " sc ", int " machine );
9 .fi
10 .SH "DESCRIPTION"
11 .BR audit_syscall_to_name ()
12 converts the numeric syscall value to the syscall name.
13 .I sc
14 is the numeric syscall value.
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 NULL if an error occurs; otherwise, the return value is the syscall name.
24
25 .SH "SEE ALSO"
26
27 .BR audit_name_to_syscall (3),
28 .BR audit_detect_machine (3).
29
30 .SH AUTHOR
31 Steve Grubb