Restore a connection to an event mailbox
#include <sys/dcmd_fsevmgr.h> #define DCMD_FSEVMGR_MB_RESTORE __DIOT(_DCMD_FSEVMGR, 15, fsnotify_restore_t)
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 |
This command restores a connection to an event mailbox.
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;
None.