In message <[EMAIL PROTECTED]>, Maxime Henrion writes:
> Hi,
>
>I'm new to the FreeBSD kernel and I wanted to know what are the good
>methods to read a sysctl value from the kernel. Is it the same interface
>as in user-space ?
>
>Any help or links to some documentation would be greatly appreciated :)
Look at the kernel_sysctl() function in src/sys/kern/kern_sysctl.c
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD coreteam member | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message