diff third_party/libuv/docs/code/cgi/tick.c @ 173:827c6ac504cd hg-web

Merged in default here.
author MrJuneJune <me@mrjunejune.com>
date Mon, 19 Jan 2026 18:59:10 -0800
parents 948de3f54cea
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/third_party/libuv/docs/code/cgi/tick.c	Mon Jan 19 18:59:10 2026 -0800
@@ -0,0 +1,13 @@
+#include <stdio.h>
+#include <unistd.h>
+
+int main() {
+    int i;
+    for (i = 0; i < 10; i++) {
+        printf("tick\n");
+        fflush(stdout);
+        sleep(1);
+    }
+    printf("BOOM!\n");
+    return 0;
+}