aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-05-27 23:20:16 +0200
committerAlejandro Colomar <alx@kernel.org>2024-05-31 01:37:49 +0200
commit5209d29ba92a9a784254fc38f4895469ec75174c (patch)
tree34e4ae97add85b4157a88ee5350dcaab9c915022
parent8ba93e04ff993a8227dc992b9403aa0677d823f8 (diff)
downloadman-pages-5209d29ba92a9a784254fc38f4895469ec75174c.tar.gz
PR_SET_FPEMU.2const: Tweak after split
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man/man2const/PR_SET_FPEMU.2const22
1 files changed, 9 insertions, 13 deletions
diff --git a/man/man2const/PR_SET_FPEMU.2const b/man/man2const/PR_SET_FPEMU.2const
index 410308cf60..4eb052874f 100644
--- a/man/man2const/PR_SET_FPEMU.2const
+++ b/man/man2const/PR_SET_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_SET_FPEMU
-.\"
.TH PR_SET_FPEMU 2const (date) "Linux man-pages (unreleased)"
.SH NAME
PR_SET_FPEMU
@@ -18,14 +15,11 @@ 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_SET_FPEMU, long " fpemu ", 0L, 0L, 0L);"
.fi
.SH DESCRIPTION
-.TP
-.BR PR_SET_FPEMU " (since Linux 2.4.18, 2.5.9, only on ia64)"
-Set floating-point emulation control bits to \fIarg2\fP.
+Set floating-point emulation control bits to
+.IR fpemu .
Pass
.B PR_FPEMU_NOPRINT
to silently emulate floating-point operation accesses, or
@@ -42,12 +36,14 @@ is set to indicate the error.
.SH ERRORS
.TP
.B EINVAL
-.I arg2
-is not a valid value for this
-.IR op .
+.I fpemu
+is not a valid value.
.SH STANDARDS
Linux.
+ia64 only.
.SH HISTORY
+Linux 2.4.18, 2.5.9.
+(ia64)
.SH SEE ALSO
.BR prctl (2),
.BR PR_GET_FPEMU (2const)