On 13.07.10 10:48, Ed Schouten wrote:
* Andreas Tobler<andreast-l...@fgznet.ch>  wrote:
But now I wonder how can I teach the sysctl to print my tempreature
the same way as my userland app does.

I seem to remember all the other temperature sensors expose their value
using tenth Kelvin precision. There is some kind of modifier you can add
to the SYSCTL_INT declaration to denote that it's a temperature value.
The sysctl(8) code on HEAD seems to suggest the type is "IK".

Thanks Ed!

I need to figure out how to format my temperature value to fit with this modifier.

Regards,
Andreas
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to