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
libgamin-1(3) - opensolaris
cmstopres(1m) - hpux
famd(8) - suse
imagecreatefromwebp(3) - php
ibase_set_event_handler(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team