$manlookup

PR_MCE_KILL_GET

(2const)

get the machine check memory corruption kill policy

System callsmanpages-dev 6.9.1-1
#include <linux/prctl.h> /* Definition of PR_* constants */ #include <sys/prctl.h> int prctl(PR_MCE_KILL_GET, 0L, 0L, 0L, 0L);

LIBRARY

Standard C library (libc, -lc)

DESCRIPTION

Return the current per-process machine check kill policy; see PR_MCE_KILL_SET(2const).

RETURN VALUE

On success, this call returns the nonnegative value described above. On error, -1 is returned, and errno is set to indicate the error.

STANDARDS

Linux.

HISTORY

Linux 2.6.32.

See also