this function is not available in glibc2 (Fabian Kreutz/AEB)

This commit is contained in:
Michael Kerrisk 2004-11-12 17:39:18 +00:00
parent 9dc0b7df22
commit 94426bbfe6
1 changed files with 10 additions and 0 deletions

View File

@ -25,6 +25,9 @@
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
.\" 386BSD man pages
.\" Modified Sat Jul 24 19:11:11 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified 2004-11-12 as per suggestion by Fabian Kreutz/AEB
.\" to note that this function is not available in glibc2.
.\"
.TH INFNAN 3 1993-06-02 "GNU" "Linux Programmer's Manual"
.SH NAME
infnan \- deal with infinite or not-a-number (NaN) result
@ -41,6 +44,13 @@ The \fBinfnan()\fP function returns a suitable value for infinity and
"not-a-number" (NaN) results. The value of \fIerror\fP can be ERANGE
to represent infinity or anything else to represent NaN. \fIerrno\fP
is also set.
.SH NOTES
This obsolete function was provided in
.I libc4
and
.IR libc5 ,
but is not available in
.IR glibc2 .
.SH "RETURN VALUE"
If \fIerror\fP is ERANGE (Infinity), HUGE_VAL is returned.
.PP