DCMD_FSEVMGR_FSEVENTCHID

Get the channel ID for the filesystem event manager's fsevents interface

Synopsis:

#include <sys/dcmd_fsevmgr.h>

#define DCMD_FSEVMGR_FSEVENTCHID   __DIOF(_DCMD_FSEVMGR, 10, fsevmgr_eventchid_t)

Arguments to devctl():

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

Description:

This command gets the channel ID for the filesystem event manager's fsevents interface.

Input:

None.

Output:

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;

See also:

devctl() in the QNX Neutrino C Library Reference

fsevmgr in the Utilities Reference