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..
This commit is contained in:
John-Mark Gurney 2015-07-31 03:28:02 +00:00
parent 479184e919
commit 215397449a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=286103

View File

@ -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