aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-05-28 01:39:02 +0200
committerAlejandro Colomar <alx@kernel.org>2024-05-31 01:37:50 +0200
commit5cd4571cbe9ca83e040f42d7187b80755524f14e (patch)
treea619e29db5dc817cf2e4604e68244f8cb3c33f2e
parent1a0f71cd428261994c875bf8682db55909714724 (diff)
downloadman-pages-5cd4571cbe9ca83e040f42d7187b80755524f14e.tar.gz
PR_GET_FPEXC.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man2const/PR_GET_FPEXC.2const18
1 files changed, 7 insertions, 11 deletions
diff --git a/man/man2const/PR_GET_FPEXC.2const b/man/man2const/PR_GET_FPEXC.2const
index 7eac3197c9..fbea3998db 100644
--- a/man/man2const/PR_GET_FPEXC.2const
+++ b/man/man2const/PR_GET_FPEXC.2const
@@ -1,11 +1,8 @@
.\" Copyright Guillem Jover <guillem@hadrons.org>
+.\" Copyright 2024, Alejandro Colomar <alx@kernel.org>
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
-.\" Modified 2006-08-30 Guillem Jover <guillem@hadrons.org>
-.\" Added
-.\" PR_GET_FPEXC
-.\"
.TH PR_GET_FPEXC 2const (date) "Linux man-pages (unreleased)"
.SH NAME
PR_GET_FPEXC
@@ -18,16 +15,12 @@ Standard C library
.nf
.B #include <sys/prctl.h>
.P
-.BI "int prctl(int " op ", ..."
-.BI " \fR/*\fP unsigned long " arg2 ", unsigned long " arg3 ,
-.BI " unsigned long " arg4 ", unsigned long " arg5 " \fR*/\fP );"
+.BI "int prctl(PR_GET_FPEXC, unsigned int *" mode ", 0L, 0L, 0L);"
.fi
.SH DESCRIPTION
-.TP
-.BR PR_GET_FPEXC " (since Linux 2.4.21, 2.5.32, only on PowerPC)"
Return floating-point exception mode,
in the location pointed to by
-.IR "(int\~*) arg2" .
+.IR mode .
.SH RETURN VALUE
On success,
0 is returned.
@@ -37,11 +30,14 @@ is set to indicate the error.
.SH ERRORS
.TP
.B EFAULT
-.I arg2
+.I mode
is an invalid address.
.SH STANDARDS
Linux.
+PowerPC only.
.SH HISTORY
+Linux 2.4.21, 2.5.32.
+(PowerPC)
.SH SEE ALSO
.BR prctl (2),
.BR PR_SET_FPEXC (2const)