[Previous] [Contents] [Next]

Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

pmm_property_get()

Get the current value of a property associated with a node

Synopsis:

#include <sys/pmm.h>

int pmm_property_get(pmm_node_t *node, pm_property_t id, 
                                  void *data, int size);

Library:

libc

Description:

This call is used to get the current value of a property associated with a node:

node
Pointer to the node.
id
Property identifier.
data
Pointer to a buffer where the property value is copied to.
size
Size in bytes of the data buffer.

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.

Returns:

Classification:

QNX Neutrino

Safety:
Cancellation point Yes
Interrupt handler No
Signal handler Yes
Thread Yes

See also:


[Previous] [Contents] [Next]