[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_set()

Modify the value of a property

Synopsis:

#include <sys/pmm.h>

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

Library:

libc

Description:

This call is used to modify the value of a property:

node
Pointer to the node.
id
Property identifier.
data
Pointer to the data that contains the new property value.
size
Size in bytes of the data.

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:

Returns:

EINVAL
No property with an identifier of id exists.
EINVAL ??
Property size does not match size.

Classification:

QNX Neutrino

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

See also:


[Previous] [Contents] [Next]