From 6104d060a61e32a1a8d4e71d947b340fd13ac2f7 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 25 Jan 2008 15:45:08 +0000 Subject: *** empty log message *** --- ev.pod | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ev.pod') diff --git a/ev.pod b/ev.pod index 9ef6da2..3e2060e 100644 --- a/ev.pod +++ b/ev.pod @@ -1440,16 +1440,18 @@ some child status changes (most typically when a child of yours dies). =over 4 -=item ev_child_init (ev_child *, callback, int pid) +=item ev_child_init (ev_child *, callback, int pid, int trace) -=item ev_child_set (ev_child *, int pid) +=item ev_child_set (ev_child *, int pid, int trace) Configures the watcher to wait for status changes of process C (or I process if C is specified as C<0>). The callback can look at the C member of the C watcher structure to see the status word (use the macros from C and see your systems C documentation). The C member contains the pid of the -process causing the status change. +process causing the status change. C must be either C<0> (only +activate the watcher when the process terminates) or C<1> (additionally +activate the watcher when the process is stopped or continued). =item int pid [read-only] -- cgit v1.2.3