]> git.ipfire.org Git - thirdparty/man-pages.git/blobdiff - man3/log2.3
Added/updated glibc feature test macro requirements
[thirdparty/man-pages.git] / man3 / log2.3
index 7a7d5e384a42ee51960f476b67863bbcc5a3aae2..128b4638ec4d05f22b4d4b9e40f7b7206d7447c0 100644 (file)
@@ -29,7 +29,7 @@
 .\" Modified 2002-07-27 by Walter Harms
 .\"    (walter.harms@informatik.uni-oldenburg.de)
 .\"
-.TH LOG2 3  2002-07-27  "" "Linux Programmer's Manual"
+.TH LOG2 3  2007-07-26  "" "Linux Programmer's Manual"
 .SH NAME
 log2, log2f, log2l \- base-2 logarithmic function
 .SH SYNOPSIS
@@ -43,7 +43,20 @@ log2, log2f, log2l \- base-2 logarithmic function
 .BI "long double log2l(long double " x );
 .fi
 .sp
-Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
+Link with \fI\-lm\fP.
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.ad l
+.BR log2 (),
+.BR log2f (),
+.BR log2l ():
+_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
+.I cc\ -std=c99
+.ad b
 .SH DESCRIPTION
 The
 .BR log2 ()