Poster of Linux kernelThe best gift for a Linux geek
AUDIT_DETECT_MACHINE

AUDIT_DETECT_MACHINE

Section: Linux Audit API (3) Updated: Oct 2006
Local index Up
 

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


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 21:42:03 GMT, April 16, 2011