Get the channel ID for the filesystem event manager's inotify interface
#include <sys/dcmd_fsevmgr.h> #define DCMD_FSEVMGR_INOTIFYCHID __DIOF(_DCMD_FSEVMGR, 11, fsevmgr_eventchid_t)
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening /dev/inotifys |
dcmd | DCMD_FSEVMGR_INOTIFYCHID |
dev_data_ptr | A pointer to a fsevmgr_eventchid_t |
n_bytes | sizeof(fsevmgr_eventchid_t) |
dev_info_ptr | NULL |
This command gets the channel ID for the filesystem event manager's inotify interface.
None.
A filled-in fsevmgr_eventchid_t structure:
typedef struct fsevmgr_eventchid_s { pid_t pid; /* Process ID */ int32_t chid; /* Communication channel ID */ } fsevmgr_eventchid_t;