Rizin
unix-like reverse engineering framework and cli tools
main.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <stdlib.h>
3
#include <
uv.h
>
4
5
int
main
() {
6
uv_loop_t
*
loop
=
malloc
(
sizeof
(
uv_loop_t
));
7
uv_loop_init
(
loop
);
8
9
printf
(
"Now quitting.\n"
);
10
uv_run
(
loop
,
UV_RUN_DEFAULT
);
11
12
uv_loop_close
(
loop
);
13
free
(
loop
);
14
return
0;
15
}
printf
_Use_decl_annotations_ int __cdecl printf(const char *const _Format,...)
Definition:
cs_driver.c:93
free
RZ_API void Ht_() free(HtName_(Ht) *ht)
Definition:
ht_inc.c:130
main
int main(int argc, const char **argv)
Definition:
main.c:340
malloc
void * malloc(size_t size)
Definition:
malloc.c:123
uv_loop_s
Definition:
uv.h:1780
loop
uv_loop_t * loop
Definition:
main.c:7
uv.h
UV_RUN_DEFAULT
@ UV_RUN_DEFAULT
Definition:
uv.h:255
uv_loop_init
UV_EXTERN int uv_loop_init(uv_loop_t *loop)
Definition:
loop.c:30
uv_run
UV_EXTERN int uv_run(uv_loop_t *, uv_run_mode mode)
Definition:
core.c:365
uv_loop_close
UV_EXTERN int uv_loop_close(uv_loop_t *loop)
Definition:
uv-common.c:791
subprojects
libuv-v1.40.0
docs
code
helloworld
main.c
Generated by
1.9.1