Get the channel ID for the filesystem event manager's fsevents interface
#include <sys/dcmd_fsevmgr.h> #define DCMD_FSEVMGR_FSEVENTCHID __DIOF(_DCMD_FSEVMGR, 10, fsevmgr_eventchid_t)
| Argument | Value |
|---|---|
| filedes | A file descriptor that you obtained by opening /dev/fsevents |
| dcmd | DCMD_FSEVMGR_FSEVENTCHID |
| 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 fsevents 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;