summaryrefslogtreecommitdiff
path: root/share/man/man3/tgmath.3
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man3/tgmath.3')
-rw-r--r--share/man/man3/tgmath.321
1 files changed, 15 insertions, 6 deletions
diff --git a/share/man/man3/tgmath.3 b/share/man/man3/tgmath.3
index f8faf269a7a34..e86b14184c209 100644
--- a/share/man/man3/tgmath.3
+++ b/share/man/man3/tgmath.3
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 14, 2004
+.Dd January 4, 2012
.Dt TGMATH 3
.Os
.Sh NAME
@@ -139,15 +139,24 @@ The header
.In tgmath.h
first appeared in
.Fx 5.3 .
-.Sh BUGS
-The header
+.Sh COMPILER SUPPORT
+Before
+.St -isoC-11 ,
+the header
.In tgmath.h
-cannot be implemented with strictly conforming C code and needs
+could not be implemented with strictly conforming C code and needed
special compiler support.
-The current implementation only works for GCC.
-.Pp
+As of
+.St -isoC-11 ,
+this header file can be implemented using the
+.Fn _Generic
+language keyword.
+In addition to compilers that support this keyword, this header file
+works with GCC.
+.Sh BUGS
Many of the functions mentioned here are not prototyped in
.In math.h
or
.In complex.h
as they are not yet implemented.
+This prevents the corresponding type-generic macro from working at all.