Rizin
unix-like reverse engineering framework and cli tools
main.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <uv.h>

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

◆ main()

int main ( void  )

Definition at line 5 of file main.c.

5  {
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
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

References free(), loop, malloc(), printf(), uv_loop_close(), uv_loop_init(), uv_run(), and UV_RUN_DEFAULT.