summaryrefslogtreecommitdiff
path: root/ev.pod
diff options
context:
space:
mode:
authorroot <root>2008-09-30 18:35:47 +0000
committerroot <root>2008-09-30 18:35:47 +0000
commit0f8d20c4e280c663bf0421c7ee3db7ff7eaef5f1 (patch)
tree68e8bbf8edd5c907771f55e814f0b6aca35360a3 /ev.pod
parent2736c2b0a7a4e6fbb8fdb117eef4cef1a2261eb1 (diff)
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r--ev.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/ev.pod b/ev.pod
index b145894..01070c8 100644
--- a/ev.pod
+++ b/ev.pod
@@ -1627,7 +1627,7 @@ The signal the watcher watches out for.
=head3 Examples
-Example: Try to exit cleanly on SIGINT and SIGTERM.
+Example: Try to exit cleanly on SIGINT.
static void
sigint_cb (struct ev_loop *loop, struct ev_signal *w, int revents)
@@ -1637,7 +1637,7 @@ Example: Try to exit cleanly on SIGINT and SIGTERM.
struct ev_signal signal_watcher;
ev_signal_init (&signal_watcher, sigint_cb, SIGINT);
- ev_signal_start (loop, &sigint_cb);
+ ev_signal_start (loop, &signal_watcher);
=head2 C<ev_child> - watch out for process status changes