This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get the current value of a property associated with a node
#include <sys/pmm.h> int pmm_property_get(pmm_node_t *node, pm_property_t id, void *data, int size);
libc
This call is used to get the current value of a property associated with a node:
If no property with an identifier of id is present, this call returns EINVAL.
Otherwise, if data is non-NULL, it copies the minimum of size bytes and the actual size of the property data to the data buffer.
If id is valid, this function returns the actual size of the property's data.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |