mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-01-15 00:03:36 +01:00
Add libuv examples
This commit is contained in:
11
libuv/hello/hello.c
Normal file
11
libuv/hello/hello.c
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <stdio.h>
|
||||
#include <uv.h>
|
||||
|
||||
int main() {
|
||||
uv_loop_t *loop = uv_loop_new();
|
||||
|
||||
printf("Now quitting.\n");
|
||||
uv_run(loop);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user