DCMD_FSYS_FSNOTIFY_SAVE
QNX SDP8.0Devctl and Ioctl CommandsDeveloper
Save the notification state for the filesystem event policy manager
Synopsis:
#include <sys/dcmd_blk.h>
#define DCMD_FSYS_FSNOTIFY_SAVE __DIOT(_DCMD_FSYS, 34, fs_fsnotify_save_t)
Arguments to devctl():
Argument | Value |
---|---|
filedes | A file descriptor that you obtained by opening the device. |
dcmd | DCMD_FSYS_FSNOTIFY_SAVE |
dev_data_ptr | A pointer to a fs_fsnotify_save_t |
n_bytes | sizeof(fs_fsnotify_save_t) |
dev_info_ptr | NULL |
Description:
This command saves the notification state information for the filesystem event policy manager.
Input:
The fs_fsnotify_save_t structure is defined as follows:
typedef struct fs_fsnotify_save_s {
char path[255];
} fs_fsnotify_save_t;
Set the path to be a zero-terminated path for the file where you want to save the state information.
Output:
None.
See also:
Filesystem events in the QNX OS System Architecture guide
fsevmgr in the Utilities Reference
devctl() in the QNX OS C Library Reference
Page updated: