Hmm, is there still no good general-purpose C library for pulling info out of /proc/acpi easily? I'd have thought we'd have one by now, but currently the closest thing I know of is my own acpi.c not-quite-a-library. Seems weird that there's a libapm, but no libacpi when the acpi info in /proc is so much harder to parse than /proc/apm (especially if you want to be somewhat efficient about doing so).

My acpi.c kinda wants to turn into libacpi, but I kinda don't want it to.

(Maybe something like HAL is how we're supposed to deal with this stuff these days?)