NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ATTRIBUTES | SEE ALSO
#include <pd/chPd.h>void *padGet(KnCap *actorcap, PdKey key);
PRIVATE-DATA
The padGet function returns the value currently bound to key for the actor whose capability is given by actorcap.
If actorcap is K_MYACTOR, the current actor is used.
You can only call padGet from a supervisor actor, but actorcap can designate any local actor.
Calling padGet with a key value not obtained from padKeyCreate or after key has been deleted using padKeyDeletecan produce unpredictable results.
The padGet function returns the actor-specific data value associated with the key specified for the relevant actor. If no actor-specific data value has been associated with key, a NULL value is returned.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ATTRIBUTES | SEE ALSO