[Previous] [Contents] [Next]

pmm_mode_list()

Get the list of supported power modes

Synopsis:

#include <sys/pmm.h>

int pmm_mode_list(pmm_node_t *node, pm_power_mode_t *modes, 
                                                int count);

Library:

libc

Description:

This call is used to get the list of supported power modes:

node
Pointer to the node.
modes
Pointer to where the list of modes is copied.
count
Size of the modes array.

This function returns the actual number of modes supported by the node.

If modes is non-NULL, the minimum of count and the actual number of supported modes will be copied to modes.

Returns:

Classification:

QNX Neutrino

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

See also:


[Previous] [Contents] [Next]