FAM_NEXT_EVENT(3) 1 FAM_NEXT_EVENT(3)
fam_next_event - Get next pending FAM event
SYNOPSIS
array fam_next_event (resource $fam)
DESCRIPTION
Returns the next pending FAM event.
The function will block until an event is available which can be checked for using fam_pending(3).
PARAMETERS
o $fam
- A resource representing a connection to the FAM service returned by fam_open(3)
RETURN VALUES
Returns an array that contains a FAM event code in the ' code' element, the path of the file this event applies to in the ' filename' ele-
ment and optionally a hostname in the ' hostname' element.
The possible event codes are described in detail in the constants part of this section.
SEE ALSO
fam_pending(3).
PHP Documentation Group FAM_NEXT_EVENT(3)