SYSCTL_XXX(9) manual page deficiency

From: Maxim Sobolev <sobomax_at_FreeBSD.org>
Date: Wed, 21 Apr 2010 13:10:23 -0700
Hi,

According to the manual page for the SYSCTL_XXX(9) family of functions, 
in order to use them one needs to include sys/types.h and sys/sysctl.h. 
However, if you do just that the code doesn't compile due to missing 
DATA_SET() macros, which is defined in sys/linker_set.h. My question is 
whether or not sysctl.h should include sys/linker_set.h or manual page 
to be extended to also suggests that this include is required to use 
those functions?

-Maxim
Received on Wed Apr 21 2010 - 18:10:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:02 UTC