php man page for event_add

Query: event_add

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

EVENT_ADD(3)								 1							      EVENT_ADD(3)

event_add - Add an event to the set of monitored events

SYNOPSIS
bool event_add (resource $event, [int $timeout = -1])
DESCRIPTION
event_add(3) schedules the execution of the $event when the event specified in event_set(3) occurs or in at least the time specified by the $timeout argument. If $timeout was not specified, not timeout is set. The $event must be already initalized by event_set(3) and event_base_set(3) functions. If the $event already has a timeout set, it is replaced by the new one.
PARAMETERS
o $event - Valid event resource. o $timeout - Optional timeout (in microseconds).
RETURN VALUES
event_add(3) returns TRUE on success or FALSE on error. PHP Documentation Group EVENT_ADD(3)
Related Man Pages
bufferevent_enable(3) - netbsd
bufferevent_new(3) - netbsd
bufferevent_write_buffer(3) - netbsd
evbuffer_add_printf(3) - netbsd
event_set(3) - php
Similar Topics in the Unix Linux Community
Waiting time of Process
epoll problem with tcp connect()
Editing HTML with FTP access
Add event