fam_monitor_directory(3) php man page | unix.com

Man Page: fam_monitor_directory

Operating Environment: php

Section: 3

FAM_MONITOR_DIRECTORY(3)						 1						  FAM_MONITOR_DIRECTORY(3)

fam_monitor_directory - Monitor a directory for changes

SYNOPSIS
resource fam_monitor_directory (resource $fam, string $dirname)
DESCRIPTION
Requests monitoring for a directory and all contained files. A FAM event will be generated whenever the status of the directory (i.e. the result of function stat(3) on that directory) or its content (i.e. the results of readdir(3)) changes. The possible event codes are described in detail in the constants part of this section.
PARAMETERS
o $fam - A resource representing a connection to the FAM service returned by fam_open(3) o $dirname - Path to the monitored directory
RETURN VALUES
Returns a monitoring resource or FALSE on errors.
SEE ALSO
fam_monitor_file(3), fam_monitor_collection(3), fam_cancel_monitor(3), fam_suspend_monitor(3), fam_resume_monitor(3). PHP Documentation Group FAM_MONITOR_DIRECTORY(3)
Related Man Pages
fam(3x) - redhat
fam(3) - debian
readdir(3) - php
fam_monitor_collection(3) - php
fam(3) - suse
Similar Topics in the Unix Linux Community
NetMRG 0.20 (Default branch)
[bash] Manipulate dir name
Finding the list of users who modified a file
How to list the content of a directory
System monitoring with RMC/RSCT