diff options
author | root <root> | 2008-09-30 18:35:47 +0000 |
---|---|---|
committer | root <root> | 2008-09-30 18:35:47 +0000 |
commit | 0f8d20c4e280c663bf0421c7ee3db7ff7eaef5f1 (patch) | |
tree | 68e8bbf8edd5c907771f55e814f0b6aca35360a3 /ev.pod | |
parent | 2736c2b0a7a4e6fbb8fdb117eef4cef1a2261eb1 (diff) |
*** empty log message ***
Diffstat (limited to 'ev.pod')
-rw-r--r-- | ev.pod | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |