svn commit: r296880 - in head: share/man/man9 sys/kern sys/sys

Hans Petter Selasky hps at selasky.org
Wed Mar 16 07:24:18 UTC 2016


On 03/15/16 22:56, Don Lewis wrote:
> How can you do a CTASSERT() on something that isn't known at compile
> time?
>

It can be part of the API, that some arguments cannot be variables. It 
makes typechecking and other checking easier.

Gleb: I'll test and submit an array size assert for the static sysctl 
u64 array version.

--HPS


More information about the svn-src-head mailing list