NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO
#include <am/afexec.h>int acap(int aid, KnCap *cactorcap);
ACTOR_EXTENDED_MNGT
acap() copies, at the location pointed to by cactorcap, the capability of the c_actor designated by the identifier aid. See intro(2K).
Upon successful completion, acap() returns 0. Otherwise it returns -1 and sets errno to indicate one of the following error conditions:
aid is zero.
aid does not exist.
the calling c_actor is not a trusted c_actor.
cactorcap points outside the allocated address space of the c_actor.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUES | ATTRIBUTES | SEE ALSO