fam_monitor_file(3) php man page | unix.com

Man Page: fam_monitor_file

Operating Environment: php

Section: 3

FAM_MONITOR_FILE(3)							 1						       FAM_MONITOR_FILE(3)

fam_monitor_file - Monitor a regular file for changes

SYNOPSIS
resource fam_monitor_file (resource $fam, string $filename)
DESCRIPTION
Requests monitoring for a single file. A FAM event will be generated whenever the file status changes (i.e. the result of function stat(3) on that file). 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 $filename - Path to the monitored file
RETURN VALUES
Returns a monitoring resource or FALSE on errors.
SEE ALSO
fam_monitor_directory(3), fam_monitor_collection(3), fam_cancel_monitor(3), fam_suspend_monitor(3), fam_resume_monitor(3). PHP Documentation Group FAM_MONITOR_FILE(3)
Related Man Pages
fam(3x) - redhat
fam(3) - debian
famd(8) - debian
famd(8) - suse
imagecreatefromwebp(3) - php
Similar Topics in the Unix Linux Community
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch