tildefriends/deps/libuv/docs/code/default-loop/main.c

13 lines
198 B
C
Raw Permalink Normal View History

#include <stdio.h>
#include <uv.h>
int main() {
uv_loop_t *loop = uv_default_loop();
printf("Default loop.\n");
uv_run(loop, UV_RUN_DEFAULT);
uv_loop_close(loop);
return 0;
}