This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Modify the value of a property
#include <sys/pmm.h> int pmm_property_set(pmm_node_t *node, pm_property_t id, void *data, int size);
libc
This call is used to modify the value of a property:
If successful, this copies the property value from data into the internal buffer that holds the property value. If the policy specifies a property_set() function, it is called to inform the policy that the property value has changed.
If an error occurs, the errno is set one of the following:
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |