aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-05-27 23:31:54 +0200
committerAlejandro Colomar <alx@kernel.org>2024-05-31 01:37:50 +0200
commit9c96b09c026d3586734316fdd70a14bb10d5ca14 (patch)
tree9dc33a8fa9c0499861236f464bd244c665f233af
parent4ef61684023db7073ecf1dad3a36169136f49788 (diff)
downloadman-pages-9c96b09c026d3586734316fdd70a14bb10d5ca14.tar.gz
PR_GET_FPEMU.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man2const/PR_GET_FPEMU.2const18
1 files changed, 7 insertions, 11 deletions
diff --git a/man/man2const/PR_GET_FPEMU.2const b/man/man2const/PR_GET_FPEMU.2const
index 097986a141..65df44c46c 100644
--- a/man/man2const/PR_GET_FPEMU.2const
+++ b/man/man2const/PR_GET_FPEMU.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_FPEMU
-.\"
.TH PR_GET_FPEMU 2const (date) "Linux man-pages (unreleased)"
.SH NAME
PR_GET_FPEMU
@@ -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_FPEMU, int *" fpemu ", 0L, 0L, 0L);"
.fi
.SH DESCRIPTION
-.TP
-.BR PR_GET_FPEMU " (since Linux 2.4.18, 2.5.9, only on ia64)"
Return floating-point emulation control bits,
in the location pointed to by
-.IR "(int\~*) arg2" .
+.IR fpemu .
.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 fpemu
is an invalid address.
.SH STANDARDS
Linux.
+ia64 only.
.SH HISTORY
+Linux 2.4.18, 2.5.9.
+(ia64)
.SH SEE ALSO
.BR prctl (2),
.BR PR_SET_FPEMU (2const)