Test whether acpi subsystem is available
acpi_available
acpi_available checks whether the ACPI ("Advanced Configuration and Power Interface") subsystem is available, as evidenced by the presence of the /proc/acpi directory.
None.
0 (true) ACPI subsystem is available 1 (false) ACPI subsystem is not available 2 usage error (arguments supplied)
/proc/acpi ACPI status information file
This manual page was written by Thomas Hood <[email protected]>.