summaryrefslogtreecommitdiff
path: root/share/man/man3/tgmath.3
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2012-01-05 10:46:22 +0000
committerEd Schouten <ed@FreeBSD.org>2012-01-05 10:46:22 +0000
commit069a43171f82804f7262671ca257893668eb0e29 (patch)
tree0eed688597265ddb650f4370eac630aae7c6c4c7 /share/man/man3/tgmath.3
parentf8fd121ca4ece923d3f7b82e1e62dd70d5aa66be (diff)
Notes
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.