This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get the current power mode of the node
#include <sys/pmm.h> int pmm_mode_get(pmm_node_t *node, pm_power_attr_t *attr);
libc
This call is used to get the current power mode of the node:
This call always returns EOK.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |