[Previous] [Contents] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

pmm_mode_get()

Get the current power mode of the node

Synopsis:

#include <sys/pmm.h>

int pmm_mode_get(pmm_node_t *node, pm_power_attr_t *attr);

Library:

libc

Description:

This call is used to get the current power mode of the node:

node
Pointer to the node.
attr
Pointer to where the node's power attributes will be copied.

This call always returns EOK.

Returns:

Classification:

QNX Neutrino

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler Yes
Thread Yes

See also:


[Previous] [Contents] [Next]