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 .\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work. .\" 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 .SH NAME
finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl \- finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl \-
BSD floating-point classification functions BSD floating-point classification functions
@ -58,15 +58,21 @@ Feature Test Macro Requirements for glibc (see
.BR finitel (): .BR finitel ():
_BSD_SOURCE || _SVID_SOURCE _BSD_SOURCE || _SVID_SOURCE
.br .br
.BR isinf (), .BR isinf ():
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE;
.I cc\ -std=c99
.br
.BR isinff (), .BR isinff (),
.BR isinfl (): .BR isinfl ():
_BSD_SOURCE || _SVID_SOURCE _BSD_SOURCE || _SVID_SOURCE
.br .br
.BR isnan (), .BR isnan ():
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE;
.I cc\ -std=c99
.br
.BR isnanf (), .BR isnanf (),
.BR isnanl (): .BR isnanl ():
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600
.ad b .ad b
.SH DESCRIPTION .SH DESCRIPTION
The The
@ -81,7 +87,7 @@ and 0 otherwise.
The The
.BR isinf () .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. is negative infinity, and 0 otherwise.
.SH NOTES .SH NOTES
Note that these functions are obsolete. Note that these functions are obsolete.