Cthulhu  0.2.10
Cthulhu compiler collection
common.c File Reference
#include "base/util.h"
#include "io/impl.h"
#include "base/panic.h"
#include "arena/arena.h"
Include dependency graph for common.c:

Go to the source code of this file.

Functions

STA_DECL void * io_data (io_t *io)
 get the user data from an io object More...
 
STA_DECL io_tio_new (const io_callbacks_t *cb, os_access_t flags, const char *name, const void *data, arena_t *arena)
 
STA_DECL io_tio_init (void *buffer, const io_callbacks_t *cb, os_access_t flags, const char *name, const void *data, arena_t *arena)
 

Function Documentation

◆ io_init()

STA_DECL io_t* io_init ( void *  buffer,
const io_callbacks_t cb,
os_access_t  flags,
const char *  name,
const void *  data,
arena_t arena 
)

Definition at line 29 of file common.c.

◆ io_new()

STA_DECL io_t* io_new ( const io_callbacks_t cb,
os_access_t  flags,
const char *  name,
const void *  data,
arena_t arena 
)

Definition at line 22 of file common.c.