| ![[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. | 
Add a new property to a node
#include <sys/pmm.h>
int pmm_property_add(pmm_node_t *node, pm_property_t id, 
                                  void *data, int size);
libc
This calls adds a new property to a node:
|  | Currently only user-defined properties above PM_PROPERTY_USER are supported. | 
If successful, this function call allocates internal storage to hold a copy of data and returns 0.
If the policy specifies properety_add() function, it is called to inform the policy of the new property and its initial value.
If an error occurs, the errno is set to one of the following:
| Safety: | |
|---|---|
| Cancellation point | Yes | 
| Interrupt handler | No | 
| Signal handler | No | 
| Thread | Yes | 
| ![[Previous]](../prev.gif) | ![[Contents]](../contents.gif) | ![[Next]](../next.gif) |