DCMD_FSEVMGR_MB_RESTORE

Restore a connection to an event mailbox

Synopsis:

#include <sys/dcmd_fsevmgr.h>

#define DCMD_FSEVMGR_MB_RESTORE   __DIOT(_DCMD_FSEVMGR, 15, fsnotify_restore_t)

Arguments to devctl():

Argument Value
filedes A file descriptor that you obtained by opening /dev/fsevents
dcmd DCMD_FSEVMGR_MB_RESTORE
dev_data_ptr A pointer to a fsnotify_restore_t
n_bytes sizeof(fsnotify_restore_t)
dev_info_ptr NULL

Description:

This command restores a connection to an event mailbox.

Input:

A filled-in fsnotify_restore_t structure:

typedef struct fsnotify_restore_s {
        uint64_t key;                  /* Writer key */
        uint32_t wrid;                 /* Writer id */
        pid_t pid;                     /* pid at time of save */
        int32_t newchid;               /* chid after restore */
} fsnotify_restore_t;

Output:

None.

See also:

devctl() in the QNX Neutrino C Library Reference

fsevmgr in the Utilities Reference