Get the dev.cpu.0.temperature from sysctl(3)

2011-05-03 Thread David Demelier
Hello, I would like to get the dev.cpu.0.temperature node from sysctlbyname(). It seems this node is an opaque type but how to check it and store it to the appropriate variable type ? Cheers, -- David Demelier ___ freebsd-questions@freebsd.org

Re: Get the dev.cpu.0.temperature from sysctl(3)

2011-05-03 Thread Roland Smith
On Tue, May 03, 2011 at 10:12:33AM +0200, David Demelier wrote: Hello, I would like to get the dev.cpu.0.temperature node from sysctlbyname(). It seems this node is an opaque type but how to check it and store it to the appropriate variable type ? The best way to determine this is to read

Re: Get the dev.cpu.0.temperature from sysctl(3)

2011-05-03 Thread David Demelier
On 03/05/2011 21:40, Roland Smith wrote: On Tue, May 03, 2011 at 10:12:33AM +0200, David Demelier wrote: Hello, I would like to get the dev.cpu.0.temperature node from sysctlbyname(). It seems this node is an opaque type but how to check it and store it to the appropriate variable type ? The