secpolev_shutdown()
Request termination of event monitoring
Synopsis:
#include <secpol/secpolev.h>
int secpolev_shutdown(secpolev_shutdown_type_t type)
Arguments:
- type
- Indicates the manner that shutdown is performed in.
Library:
libsecpolevDescription:
The secpolev_shutdown() function terminates event monitoring. It can be executed in a different thread than the one that secpolev_wait_event() is called in, but monitoring is not complete until secpolev_wait_event() returns SECPOLEV_EVENT_END
.
Returns:
Returns 0 on success, -1 on error. On failure, errno is set to:
- EINVAL - Type is invalid.
Page updated: