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_control_parameter system call, pm_battery_control subroutine, pm_control_state system call.