Date: Thu, 26 Feb 2004 14:10:40 +0100 From: Ivan Voras <ivoras@fer.hr> To: hackers@freebsd.org Subject: Accessing sysctls from kernel Message-ID: <403DF050.80208@fer.hr>
next in thread | raw e-mail | index | archive | help
In sys/sys/sysctl.h I see function kernel_sysctlbyname() that looks (to me) to be intended for accessing sysctl values from kernel, but for it's first parameter it requires a struct thread *td. What should I pass to it? (I'm calling it from inside a screensaver module)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?403DF050.80208>