Controls and queries the PM event.
#include <pm.h>
int pm_system_event_query (event); int event;
The
pm_system_event_query system call queries the PM
event.
| event | Returns one of the following events: | 
| PM_SUCCESS | Indicates successful completion. | 
| PM_ERROR | Indicates an error condition. The variable errno is set to identify the error. | 
The PM library is supported to control/query PM information from application programs.
| EINVAL | Invalid argument. | 
The pm_system_event_query system call is part of the Base Operation System (BOS) Runtime.
The pm_battery_control (pm_battery_control Subroutine) subroutine.
The pm_control_parameter (pm_control_parameter System Call) system call, pm_control_state (pm_control_state System Call) system call.