Debian Codegraph @

upstream/debian-unstable/man2/PR_MCE_KILL_GET.2const

raw
1 .\" Copyright 2010, Andi Kleen <[email protected]>
2 .\" Copyright 2012-2015, Michael Kerrisk <[email protected]>
3 .\" Copyright, the authors of the Linux man-pages project
4 .\"
5 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
6 .\"
7 .TH PR_MCE_KILL_GET 2const 2026-02-08 "Linux man-pages 6.18"
8 .SH NAME
9 PR_MCE_KILL_GET
10 \-
11 get the machine check memory corruption kill policy
12 .SH LIBRARY
13 Standard C library
14 .RI ( libc ,\~ \-lc )
15 .SH SYNOPSIS
16 .nf
17 .BR "#include <linux/prctl.h>" " /* Definition of " PR_* " constants */"
18 .B #include <sys/prctl.h>
19 .P
20 .B int prctl(PR_MCE_KILL_GET, 0L, 0L, 0L, 0L);
21 .fi
22 .SH DESCRIPTION
23 Return the current per-process machine check kill policy;
24 see
25 .BR PR_MCE_KILL_SET (2const).
26 .SH RETURN VALUE
27 On success,
28 this call
29 returns the nonnegative value described above.
30 On error, \-1 is returned, and
31 .I errno
32 is set to indicate the error.
33 .SH STANDARDS
34 Linux.
35 .SH HISTORY
36 Linux 2.6.32.
37 .SH SEE ALSO
38 .BR prctl (2),
39 .BR PR_MCE_KILL (2const),
40 .BR PR_MCE_KILL_SET (2const)