[Previous] [Contents] [Next]

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

property_add() callback

Called when a client adds a new property to a node

Synopsis:

#include <sys/pmm.h>

int property_add(void *data, pm_property_attr_t *prop, 
                                           void *val);

Library:

libc

Description:

This function is called when a client adds a new property to a node:

data
Policy specific data returned by the create() function when the node was created.
prop
Describes the property:
val
Initial property data set by the client.

The return value from this call indicates whether the property can be attached:

The default action (if the policy does not override this function) is to allow any property to be added.

Returns:

Classification:

QNX Neutrino

Safety:
Cancellation point Unknown
Interrupt handler Unknown
Signal handler Unknown
Thread Unknown

See also:


[Previous] [Contents] [Next]