help sysctl.h
Nate Grey
nate at paranoici.org
Wed Feb 11 11:07:11 PST 2004
Hello,
I'm trying to write a little program which retrieve the value 'sysctl
hw.acpi.thermal.tz0.temperature', I want to write it in C, through
sys/sysctl.h, but I'm a newbie C coder, so can anyone show me how to assign
to a var the value stored in that sysctl using sysctl C call?
I have read 'man 3 sysctl' but I didn't understand very well...
P.S.
1) Sorry for my English
2) I'm not a list subscriber so please cc:
Thanks in advance. Bye
More information about the freebsd-hackers
mailing list