| ![[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. | 
Return a pointer to the policy function table
#include <sys/pmm.h> pmm_policy_funcs_t * pmm_policy_funcs();
libc
This function returns a pointer to the policy function table:
|  | if the policy is going to override any functions, it should do this before
calling pmm_init() pmm_init() creates the root power manager object, which results in a call to the create() function. | 
The caller can then set individual members of this structure to override the default policy actions. For example:
pmm_policy_funcs_t *funcs; funcs = pmm_policy_funcs(); funcs->create = my_create; funcs->destroy = my_destroy;
| Safety: | |
|---|---|
| Cancellation point | No | 
| Interrupt handler | No | 
| Signal handler | Yes | 
| Thread | Yes | 
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Next]](../next.gif) |