procmgr_event_notify_delete()

Delete a request to be notified of system-wide events

Synopsis:

#include <sys/procmgr.h>

int procmgr_event_notify_delete ( const int handle );

Arguments:

handle
The handle for the request, returned by procmgr_event_notify_add().

Library:

libc

Use the -l c option to qcc to link against this library. This library is usually included automatically.

Description:

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.

Returns:

-1 on error (errno is set); any other value indicates success.

Errors:

ESRCH
The notification request with the given handle wasn't found.

Examples:

See the entry for procmgr_event_notify_add().

Classification:

QNX Neutrino

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

procmgr_event_notify(), procmgr_event_notify_add(), procmgr_event_trigger(), sigevent