[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_init()

Initialise and start the power manager interface

Synopsis:

#include <sys/pmm.h>

int pmm_init(dispatch_t *dpp);

Library:

libc

Description:

This function call is used to initialise the library and its internal data. These are the operations the power manager performs first.

dpp
Pointer to a dispatch structure used by the server resource manager.

If dpp is NULL, pmm_init() allocates its own dispatch.

This performs the following:

If succesful, this call returns 0.

If an error occurs, it returns -1 and errno is set one of the following:

Returns:

Classification:

QNX Neutrino

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

See also:


[Previous] [Contents] [Next]