OSDN Git Service

(split) LDP: Update original to LDP v3.65
[linuxjm/LDP_man-pages.git] / original / man3 / fmax.3
index fb04479..adedf70 100644 (file)
@@ -1,9 +1,12 @@
 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
 .\" and Copyright 2008, Linux Foundation, written by Michael Kerrisk
 .\"     <mtk.manpages@gmail.com>
+.\"
+.\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
 .\" Distributed under GPL
+.\" %%%LICENSE_END
 .\"
-.TH FMAX 3 2008-08-11 "" "Linux Programmer's Manual"
+.TH FMAX 3 2013-09-17 "" "Linux Programmer's Manual"
 .SH NAME
 fmax, fmaxf, fmaxl \- determine maximum of two floating-point numbers
 .SH SYNOPSIS
@@ -26,9 +29,14 @@ Feature Test Macro Requirements for glibc (see
 .BR fmax (),
 .BR fmaxf (),
 .BR fmaxl ():
-_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
+.RS 4
+_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE ||
+_POSIX_C_SOURCE\ >=\ 200112L;
+.br
+or
 .I cc\ -std=c99
-.ad b
+.RE
+.ad
 .SH DESCRIPTION
 These functions return the larger value of
 .I x
@@ -47,7 +55,23 @@ If both arguments are NaN, a NaN is returned.
 No errors occur.
 .SH VERSIONS
 These functions first appeared in glibc in version 2.1.
-.SH "CONFORMING TO"
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR fmax (),
+.BR fmaxf (),
+and
+.BR fmaxl ()
+functions are thread-safe.
+.SH CONFORMING TO
 C99, POSIX.1-2001.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR fmin (3)
+.SH COLOPHON
+This page is part of release 3.65 of the Linux
+.I man-pages
+project.
+A description of the project,
+and information about reporting bugs,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.