Annotation of cci/usr/src/man/man3/traper.3f, revision 1.1.1.1

1.1       root        1: .TH TRAPER 3F  "18 July 1983"
                      2: .UC 4
                      3: .SH NAME
                      4: traper \- trap arithmetic errors
                      5: .SH SYNOPSIS
                      6: .B integer function traper (mask)
                      7: .SH DESCRIPTION
                      8: Integer overflow and floating point underflow are not normally
                      9: trapped during execution. This routine enables these traps by setting
                     10: status bits in the process status word. These bits are reset on
                     11: entry to a subprogram, and the previous state is restored on return.
                     12: Therefore, this routine must be called
                     13: .I inside
                     14: each subprogram in which these conditions should be trapped.
                     15: If the condition occurs and trapping is enabled,
                     16: signal SIGFPE is sent to the process. (See
                     17: .IR signal (3C))
                     18: .PP
                     19: The argument has the following meaning:
                     20: .nf
                     21: 
                     22:         value   meaning
                     23:           0     do not trap either condition
                     24:           1     trap integer overflow only
                     25:           2     trap floating underflow only
                     26:           3     trap both the above
                     27: 
                     28: .fi
                     29: The previous value of these bits is returned.
                     30: .SH FILES
                     31: .ie \nM /usr/ucb/lib/libF77.a
                     32: .el /usr/lib/libF77.a
                     33: .SH "SEE ALSO"
                     34: signal(3C), signal(3F)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.