Date: Thu, 29 Jun 2000 18:30:05 -0400 From: "Vladimir N. Silyaev" <vsilyaev@mindspring.com> To: "Jorge Sa' Silva" <jsilva@utad.pt> Cc: freebsd-hackers@FreeBSD.org Subject: Re: kernel function Message-ID: <20000629183005.A439@jupiter.delta.ny.us>
next in thread | raw e-mail | index | archive | help
In the kernel space you are have to use not the sysctl, but the kernel_sysctl function. But for this function (as and for sysctl BTW) you are need to specify MIB. To found MIB via name you are need to use some magic. Vladimir >Hi >I tried to use the sysctl() function in the kernel space, >but when I do the "kernel make" it doesn't recognize the sysctl(). I did the >include of <sys/sysctl.h> and <sys/types.h>. >Do you know where is the problem? >Thanks in advance >Jorge To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000629183005.A439>