From 94426bbfe649fda1bc3f32241e6b194dcab7d22e Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 12 Nov 2004 17:39:18 +0000 Subject: [PATCH] this function is not available in glibc2 (Fabian Kreutz/AEB) --- man3/infnan.3 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/man3/infnan.3 b/man3/infnan.3 index ac49c2219..206b3340f 100644 --- a/man3/infnan.3 +++ b/man3/infnan.3 @@ -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