v/vlib/builtin/cfns.v

26 lines
400 B
V
Raw Normal View History

2019-10-24 11:51:22 +00:00
module builtin
2019-10-25 09:07:50 +00:00
2019-10-24 11:51:22 +00:00
fn C.memcpy(byteptr, byteptr, int)
fn C.memmove(byteptr, byteptr, int)
//fn C.malloc(int) byteptr
fn C.realloc(a byteptr, b int) byteptr
fn C.qsort(voidptr, int, int, voidptr)
fn C.sprintf(a ...voidptr) byteptr
2019-10-25 09:07:50 +00:00
fn C.strlen(s byteptr) int
2019-10-25 14:59:41 +00:00
fn backtrace(a voidptr, b int) int
fn backtrace_symbols_fd(voidptr, int, int)
2019-10-25 09:07:50 +00:00
// Windows
fn C._setmode(int, int)
fn C._fileno(int) int
2019-10-24 11:51:22 +00:00