dg_has_cap_of(3) DG/UX B2 Security R4.12MU02 dg_has_cap_of(3)
NAME
dg_has_cap_of - query the capabilities of an event
SYNOPSIS
#include <dg_events.h>
int dg_has_cap_of (event)
dg_cmd_event_id_type event;
DESCRIPTION
dg_has_cap_of is used, under the DG/UX Capability Option, to query
whether the subject's effective set contains the capabilities
associated with the event.
RETURN VALUE
EC_YES If the subject's effective set contains the capabilities
associated with the event.
EC_NO If the subject's effective set does not contain the
capabilities associated with the event.
EC_ERR An exception occurred during the event table or the capability
alias database look up.
SEE ALSO
dg_cap_name_of(3), dg_running_with_cap(3C)
Licensed material--property of copyright holder(s)