audit_detect_machine(3) suse man page | unix.com

Man Page: audit_detect_machine

Operating Environment: suse

Section: 3

AUDIT_DETECT_MACHINE(3) 					  Linux Audit API					   AUDIT_DETECT_MACHINE(3)

NAME
audit_detect_machine - Detects the current machine type
SYNOPSIS
#include <libaudit.h> int audit_detect_machine (void);
DESCRIPTION
audit_detect_machine queries uname and converts the kernel machine string to an enum value defined in machine_t. The machine type is needed for any use of the audit_name_to_syscall function.
RETURN VALUE
Returns -1 if an error occurs; otherwise, the return value is the machine's type.
SEE ALSO
uname(3), audit_name_to_syscall(3).
AUTHOR
Steve Grubb Red Hat Oct 2006 AUDIT_DETECT_MACHINE(3)
Related Man Pages
uname(1) - mojave
uname(3) - bsd
audit_log_user_comm_message(3) - centos
audit_log_user_message(3) - centos
audit_log_user_avc_message(3) - suse
Similar Topics in the Unix Linux Community
Change directory error
Getting command output to putty window title.
Migrating to UNIX
Cut command on RHEL 6.8 compatibility issues
The Future of the PM (Private Message) System at UNIX.com