DCMD_FSEVMGR_INOTIFYCHID

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

Synopsis:

#include <sys/dcmd_fsevmgr.h>

#define DCMD_FSEVMGR_INOTIFYCHID        __DIOF(_DCMD_FSEVMGR, 11, fsevmgr_eventchid_t)

Arguments to devctl():

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

Description:

This command gets the channel ID for the filesystem event manager's inotify 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