summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/sigfpe.3c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c/sigfpe.3c')
-rw-r--r--usr/src/man/man3c/sigfpe.3c19
1 files changed, 8 insertions, 11 deletions
diff --git a/usr/src/man/man3c/sigfpe.3c b/usr/src/man/man3c/sigfpe.3c
index f1c7187f86..5f40071c75 100644
--- a/usr/src/man/man3c/sigfpe.3c
+++ b/usr/src/man/man3c/sigfpe.3c
@@ -3,7 +3,7 @@
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH sigfpe 3C "4 May 2004" "SunOS 5.11" "Standard C Library Functions"
+.TH SIGFPE 3C "May 4, 2004"
.SH NAME
sigfpe \- signal handling for specific SIGFPE codes
.SH SYNOPSIS
@@ -35,7 +35,7 @@ The \fIcode\fR argument is usually one of the five \fBIEEE\|754-related\fR
.in +2
.nf
FPE_FLTRES fp_inexact \(mi floating-point inexact result
-FPE_FLTDIV fp_division \(mi floating-point division by zero
+FPE_FLTDIV fp_division \(mi floating-point division by zero
FPE_FLTUND fp_underflow \(mi floating-point underflow
FPE_FLTOVF fp_overflow \(mi floating-point overflow
FPE_FLTINV fp_invalid \(mi floating-point invalid operation
@@ -100,7 +100,7 @@ sample_handler(int sig, siginfo_t *sip, ucontext_t *uap) {
case FPE_FLTOVF: label = "overflow"; break;
default: label = "???"; break;
}
- fprintf(stderr,
+ fprintf(stderr,
"FP exception %s (0x%x) occurred at address %p.\en",
label, sip\(mi>si_code, (void *) sip\(mi>si_addr);
abort();
@@ -142,7 +142,6 @@ main(void) {
.SH FILES
.sp
.ne 2
-.mk
.na
\fB\fB/usr/include/floatingpoint.h\fR\fR
.ad
@@ -153,7 +152,6 @@ main(void) {
.sp
.ne 2
-.mk
.na
\fB\fB/usr/include/siginfo.h\fR\fR
.ad
@@ -170,13 +168,12 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-MT-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO