SYNOPSIS: Fixed feature test macro requirements.

This commit is contained in:
Michael Kerrisk 2008-08-01 05:26:15 +00:00
parent 1dfd49d3cd
commit 7fde78e66f
1 changed files with 11 additions and 5 deletions

View File

@ -20,7 +20,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH FINITE 3 2007-07-26 "" "Linux Programmer's Manual"
.TH FINITE 3 2008-07-29 "" "Linux Programmer's Manual"
.SH NAME
finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl \-
BSD floating-point classification functions
@ -58,15 +58,21 @@ Feature Test Macro Requirements for glibc (see
.BR finitel ():
_BSD_SOURCE || _SVID_SOURCE
.br
.BR isinf (),
.BR isinf ():
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE;
.I cc\ -std=c99
.br
.BR isinff (),
.BR isinfl ():
_BSD_SOURCE || _SVID_SOURCE
.br
.BR isnan (),
.BR isnan ():
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE;
.I cc\ -std=c99
.br
.BR isnanf (),
.BR isnanl ():
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600
.ad b
.SH DESCRIPTION
The
@ -81,7 +87,7 @@ and 0 otherwise.
The
.BR isinf ()
functions return 1 if \fIx\fP is positive infinity, \-1 is \fIx\fP
functions return 1 if \fIx\fP is positive infinity, \-1 if \fIx\fP
is negative infinity, and 0 otherwise.
.SH NOTES
Note that these functions are obsolete.