comparison third_party/libuv/docs/code/cgi/tick.c @ 160:948de3f54cea

[ThirdParty] Added libuv
author June Park <parkjune1995@gmail.com>
date Wed, 14 Jan 2026 19:39:52 -0800
parents
children
comparison
equal deleted inserted replaced
159:05cf9467a1c3 160:948de3f54cea
1 #include <stdio.h>
2 #include <unistd.h>
3
4 int main() {
5 int i;
6 for (i = 0; i < 10; i++) {
7 printf("tick\n");
8 fflush(stdout);
9 sleep(1);
10 }
11 printf("BOOM!\n");
12 return 0;
13 }