[Previous] [Contents] [Next]

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

pmd_attr_init()

Initialize pmd_attr_t structure with default values

Synopsis:

#include <sys/pm.h>

void pmd_attr_init(pmd_attr_t *pmd);

Arguments:

pmd
Pointer to the pmd_attr_t structure.

Library:

libpm

Description:

The pmd_attr_init() function initializes a pmd_attr_t with default values:

All other fields in pmd are set to 0.

After calling pmd_attr_init(), a driver should call the following to fully initialize the structure:

Returns:

For more information, see the device driver chapter.

Classification:

Neutrino

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

See also:

pmd_attr_t, pmd_attr_setmodes(), pmd_attr_setpower()


[Previous] [Contents] [Next]