File: event_add

package info (click to toggle)
pork 0.99.7-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,396 kB
  • ctags: 3,949
  • sloc: ansic: 34,135; sh: 3,392; perl: 797; makefile: 535
file content (12 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
SYNTAX: PORK::event_add(type, handler)

INPUT PARAMETERS
	type   : The type of event for which the handler will be installed.
	handler: The name of the Perl function that will be called when the specified event type occurs.

RETURN VALUE
	On success, returns the reference number of the event handler that was installed, on failure returns -1.

SEE ALSO
	event
	event add