Watch folder API
Use the following information to learn more about the watch folder API.
- gpfs_init_watch subroutine
Initializes the watch. - gpfs_add_watch subroutine
Watches the files in a folder specified by pathname. - gpfs_add_fset_watch subroutine
Watches all files and folders in the fileset specified by pathname. - gpfs_add_inodespace_watch subroutine
Watches files, folders, and subfolders in the inode space specified by pathname. - gpfs_rm_watch subroutine
Stops the watch for the specified child watch descriptor (cwd). - gpfs_read_watch subroutine
Reads a file access event in a watched folder, fileset, or inode space. - gpfs_close_watch subroutine
Destroys resources that are associated with a parent watch descriptor (pwd). - gpfs_watch_strerror subroutine
Returns a descriptive error message for the last error encountered when using a parent watch descriptor (pwd).
Parent topic: Programming reference