Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

CentOS 7.0 - man page for audit_detect_machine (centos 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)


All times are GMT -4. The time now is 12:12 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password