Updated: October 28, 2024 |
Delete a request to be notified of system-wide events
#include <sys/procmgr.h> int procmgr_event_notify_delete ( const int handle );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The procmgr_event_notify_delete() function deletes a notification request that was previously added by a call to procmgr_event_notify_add(). The handle is the value that procmgr_event_notify_add() returned.
-1 on error (errno is set); any other value indicates success.
See the entry for procmgr_event_notify_add().
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |