examples: update comments

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2021-02-17 08:10:52 +01:00
parent 8f96965d35
commit 042f1b59bf
+2 -2
View File
@@ -1,4 +1,4 @@
/* Example of how to handle signal, in this case Ctrl-C
/* Example with fork and signals, in this case Ctrl-C, from terminal
*
* A common problem for users of libuEV is how to combine it with the
* traditional aspects of UNIX. Since libuEV is just a wrapper for
@@ -66,7 +66,7 @@ int main(int argc, char **argv)
else
robot = "Pusher";
setsid();
setsid(); /* puts child in new process group */
uev_init(&ctx);
/* example worker, a timer callback */