namespace libc;

// io
@extern
function puts(text pointer) int;

@extern(variadic = true)
function printf(format pointer) int;

// memory
@extern
function malloc(size int) pointer;

@extern
function free(address pointer);

@extern
function memcmp(dest pointer, source pointer, size int) int;

@extern
function memcpy(dest pointer, source pointer, size int);

@extern
function memset(source pointer, value int, size int);