Date: Sun, 3 Feb 2008 12:24:03 +0200 From: =?utf-8?B?Q2loYW4gS8O2bWXDp2/En2x1?= <cihan@enderunix.org> To: freebsd-acpi@freebsd.org Subject: get mAh value in state file? Message-ID: <406342466.20080203122403@enderunix.org>
next in thread | raw e-mail | index | archive | help
Dear list I have to write a c program which gets mAh value for battery energy measurement from state file. I need to know wheter ACPI send any signal or like when this values will be written to state file. That is , How can I know when this values will be written? And the second question , for file locking mechanism when I read this value from state file What do I have to use?(maybe flock function?) --=20 Cihan K=F6me=E7o=F0lu, EnderUNIX SDT mailto:cihan@enderunix.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?406342466.20080203122403>