[Previous] [Contents] [Next]

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

mode_confirm() callback

Called to confirm the mode change completion

Synopsis:

#include <sys/pmm.h>

void mode_confirm(void *data, pm_power_mode_t mode, 
                      const pm_power_attr_t *attr);

Library:

libc

Description:

This function is called when a driver confirms that a mode change has been completed:

data
Policy specific data returned by the create() function when the node is created.
mode
Power that the driver has set the device to.
attr
Contains the current power mode status of the node:

This call is intended to allow the policy to keep track of outstanding mode change requests, and to detect whether the mode change has been completed correctly.

There is no default action for this call.

Returns:

Classification:

QNX Neutrino

Safety:
Cancellation point Unknown
Interrupt handler Unknown
Signal handler Unknown
Thread Unknown

See also:


[Previous] [Contents] [Next]