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));
8 
9  printf("Now quitting.\n");
11 
13  free(loop);
14  return 0;
15 }
_Use_decl_annotations_ int __cdecl printf(const char *const _Format,...)
Definition: cs_driver.c:93
RZ_API void Ht_() free(HtName_(Ht) *ht)
Definition: ht_inc.c:130
int main(int argc, const char **argv)
Definition: main.c:340
void * malloc(size_t size)
Definition: malloc.c:123
Definition: uv.h:1780
uv_loop_t * loop
Definition: main.c:7
@ UV_RUN_DEFAULT
Definition: uv.h:255
UV_EXTERN int uv_loop_init(uv_loop_t *loop)
Definition: loop.c:30
UV_EXTERN int uv_run(uv_loop_t *, uv_run_mode mode)
Definition: core.c:365
UV_EXTERN int uv_loop_close(uv_loop_t *loop)
Definition: uv-common.c:791