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
famd(8) - debian
cmstartres(1m) - hpux
famd(8) - suse
fam_monitor_collection(3) - php
socket_connect(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Please Welcome Nicki Paul to the Moderator Team!