2019-10-24 14:51:22 +03:00
|
|
|
module builtin
|
|
|
|
|
2019-10-25 16:06:21 +03:00
|
|
|
fn C.backtrace(a voidptr, b int) int
|
2019-10-25 12:07:50 +03:00
|
|
|
|
2019-10-24 14:51:22 +03:00
|
|
|
fn C.memcpy(byteptr, byteptr, int)
|
|
|
|
fn C.memmove(byteptr, byteptr, int)
|
|
|
|
//fn C.malloc(int) byteptr
|
2019-10-24 15:41:29 +03:00
|
|
|
fn C.realloc(a byteptr, b int) byteptr
|
|
|
|
|
|
|
|
fn C.qsort(voidptr, int, int, voidptr)
|
|
|
|
|
|
|
|
fn C.sprintf(a ...voidptr) byteptr
|
2019-10-25 12:07:50 +03:00
|
|
|
fn C.strlen(s byteptr) int
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-10-25 16:06:21 +03:00
|
|
|
fn C.backtrace_symbols_fd(voidptr, int, int)
|
2019-10-25 12:07:50 +03:00
|
|
|
|
2019-10-24 15:41:29 +03:00
|
|
|
|
|
|
|
|
|
|
|
// Windows
|
|
|
|
fn C._setmode(int, int)
|
|
|
|
fn C._fileno(int) int
|
2019-10-24 14:51:22 +03:00
|
|
|
|
|
|
|
|