secpolev_wait_event()
Wait for the next event
Synopsis:
#include <secpol/secpolev.h>
secpolev_event_type_t secpolev_wait_event(unsigned *flags)
Arguments:
- flags
- Flags that provide information about the event. The flags are defined by symbolic constants with a
SECPOL_EVENT_FLAG_
prefix.
Library:
libsecpolevDescription:
The secpolev_wait_event() function returns the first event from the event collection queue (or waits for one), establishes it as the current event (for the purposes of the secpolev_get_*() functions), and then returns its type.
Returns:
The type of event received. If either SECPOLEV_EVENT_END
or SECPOLEV_EVENT_ERROR
is returned, secpolev_init() must be called to restart event monitoring.
Page updated: