| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Next]](../next.gif) | 
|  | This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. | 
Initialize pmd_attr_t structure with default values
#include <sys/pm.h> void pmd_attr_init(pmd_attr_t *pmd);
libpm
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:
For more information, see the device driver chapter.
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | Yes | 
| Thread | Yes | 
pmd_attr_t, pmd_attr_setmodes(), pmd_attr_setpower()
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Next]](../next.gif) |