Date: Fri, 31 Jul 2015 03:28:03 +0000 (UTC) From: John-Mark Gurney <jmg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r286103 - head/share/man/man9 Message-ID: <201507310328.t6V3S3LC087650@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jmg Date: Fri Jul 31 03:28:02 2015 New Revision: 286103 URL: https://svnweb.freebsd.org/changeset/base/286103 Log: 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.. Modified: head/share/man/man9/CTASSERT.9 Modified: head/share/man/man9/CTASSERT.9 ============================================================================== --- head/share/man/man9/CTASSERT.9 Fri Jul 31 01:12:31 2015 (r286102) +++ head/share/man/man9/CTASSERT.9 Fri Jul 31 03:28:02 2015 (r286103) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507310328.t6V3S3LC087650>