DCMD_DUMPER_REMOVEEVENT

Updated: April 19, 2023

Remove a notification event

Synopsis:

#include <sys/dcmd_dumper.h>

#define DCMD_DUMPER_REMOVEEVENT  __DIOT(_DCMD_MISC, DUMPER_REMOVEEVENT, 0)

Arguments to devctl():

Argument Value
filedes A file descriptor for the dumper that you obtained by opening /proc/dumper.
dcmd DCMD_DUMPER_REMOVEEVENT
dev_data_ptr NULL
n_bytes 0
dev_info_ptr NULL

Description:

This command removes the first notification event found for the calling process. The devctl() function returns EOK if an event was found, or EINVAL if there were no events for the calling process.

Input:

None.

Output:

None.

Errors:

The devctl() function can return the following, in addition to any error indicated by MsgVerifyEvent():

EINVAL
There were no events for the calling process.

Example:

See DCMD_DUMPER_NOTIFYEVENT.

See also:

DCMD_DUMPER_GETPATH, DCMD_DUMPER_NOTIFYEVENT, DCMD_DUMPER_REMOVEALL

devctl() in the QNX Neutrino C Library Reference

dumper in the Utilities Reference