Date: Wed, 23 Aug 2000 20:34:22 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Maxime Henrion <mhenrion@cybercable.fr> Cc: hackers@FreeBSD.ORG Subject: Re: sysctl from kernel Message-ID: <4748.967055662@critter> In-Reply-To: Your message of "Wed, 23 Aug 2000 20:31:52 %2B0200." <39A41897.173F00@cybercable.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <39A41897.173F00@cybercable.fr>, 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 phk@FreeBSD.ORG | 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 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?4748.967055662>