Look up a process-manager ability
#include <sys/procmgr.h> int procmgr_ability_lookup( const char *name );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The procmgr_ability_lookup() function looks up a process-manager ability that was (or will be) created by a call to procmgr_ability_create().
A numeric ability identifier, which can then be used in a call to procmgr_ability() or to verify the abilities of a client, or a negative errno value if an error occurred.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |