diff options
| -rw-r--r-- | man/man2const/PR_GET_PDEATHSIG.2const | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/man/man2const/PR_GET_PDEATHSIG.2const b/man/man2const/PR_GET_PDEATHSIG.2const index 4bb381b622..9c283ce17a 100644 --- a/man/man2const/PR_GET_PDEATHSIG.2const +++ b/man/man2const/PR_GET_PDEATHSIG.2const @@ -1,10 +1,9 @@ .\" Copyright 1998, 1999, Andries Brouwer (aeb@cwi.nl) .\" Copyright 2002, 2006, 2008, 2012, 2013, 2015, Michael Kerrisk <mtk.manpages@gmail.com> +.\" Copyright 2024, Alejandro Colomar <alx@kernel.org> .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.\" Modified Thu Nov 11 04:19:42 MET 1999, aeb: added PR_GET_PDEATHSIG -.\" .TH PR_GET_PDEATHSIG 2const (date) "Linux man-pages (unreleased)" .SH NAME PR_GET_PDEATHSIG @@ -17,14 +16,12 @@ Standard C library .nf .B #include <sys/prctl.h> .P -.BI "int prctl(int " op ", ...);" +.BI "int prctl(PR_GET_PDEATHSIG, int *" sig ", 0L, 0L, 0L);" .fi .SH DESCRIPTION -.TP -.BR PR_GET_PDEATHSIG " (since Linux 2.3.15)" -Return the current value of the parent process death signal, +Return the parent-death signal number of the calling process, in the location pointed to by -.IR "(int\~*) arg2" . +.IR sig . .SH RETURN VALUE On success, 0 is returned. @@ -34,11 +31,12 @@ is set to indicate the error. .SH ERRORS .TP .B EFAULT -.I arg2 +.I sig is an invalid address. .SH STANDARDS Linux. .SH HISTORY +Linux 2.3.15. .SH SEE ALSO .BR signal (2), .BR PR_SET_PDEATHSIG (2const) |
