diff options
author | jmg <jmg@FreeBSD.org> | 2015-07-31 03:28:02 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2015-07-31 03:28:02 +0000 |
commit | 3ff460ef8b2d52356d2a9ec2945f439d03671ecd (patch) | |
tree | a0162d4a093fbdf3981334c2be746229282fc143 /share | |
parent | 8597d814df1fcc6d7e612a9da2dfc99025f98867 (diff) | |
download | FreeBSD-src-3ff460ef8b2d52356d2a9ec2945f439d03671ecd.zip FreeBSD-src-3ff460ef8b2d52356d2a9ec2945f439d03671ecd.tar.gz |
The implementation note isn't true anymore..
Not that anyone reads it, but those that do, remind them that this
isn't usable in userland... I can't wait till this doc is wrong..
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/CTASSERT.9 | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/share/man/man9/CTASSERT.9 b/share/man/man9/CTASSERT.9 index 6211c2e..7b719e1 100644 --- a/share/man/man9/CTASSERT.9 +++ b/share/man/man9/CTASSERT.9 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd September 5, 2008 +.Dd July 30, 2015 .Dt CTASSERT 9 .Os .Sh NAME @@ -48,14 +48,10 @@ The macro is useful for asserting the size or alignment of important data structures and variables during compilation, which would otherwise cause the code to fail at run time. -.Sh IMPLEMENTATION NOTES +.Pp The .Fn CTASSERT -macro should not be used in a header file. -It is implemented using a dummy typedef, with a name (based on line number) -that may conflict with a -.Fn CTASSERT -in a source file including that header. +macro is not usable in userland. .Sh EXAMPLES Assert that the size of the .Vt uuid |