NAME | SYNOPSIS | FEATURES | DESCRIPTION | RETURN VALUE | ATTRIBUTES | SEE ALSO
#include <am/astat.h>int astat(astatEntry *entries, int maxEntries);
ACTOR_EXTENDED_MNGT
The astat() call fills an entry defined by the entries array for each c_actor present. The maximum number of entries is defined by maxEntries.
The entries array is a structure containing the following members:
int astatFlags; /* c_actor's status */ int astatAid; /* c_actor's ID */ int astatUid; /* c_actor's user ID */ char astatName[]; /* c_actor's name */
The status information astatFlags is bit-encoded using the following bits:
ASTAT_DEBUGGED_CACTOR the c_actor is being debugged
Upon successful completion, astat returns the number of active c_actors; otherwise it returns -1 and sets errno to indicate the following error condition:
entries 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 VALUE | ATTRIBUTES | SEE ALSO