Re: help sysctl.h

2004-02-12 Thread Vlad Galu
Nate Grey <[EMAIL PROTECTED]> writes: |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

help sysctl.h

2004-02-12 Thread Nate Grey
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 'ma