1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/vlib/builtin/wasm/wasi/wasi.v

15 lines
263 B
V
Raw Normal View History

[wasm_import_namespace: 'wasi_snapshot_preview1']
module builtin
struct CIOVec {
buf &u8
len usize
}
type Errno = u16
type FileDesc = int
fn WASM.fd_write(fd FileDesc, iovs &CIOVec, iovs_len usize, retptr &usize) Errno
[noreturn]
fn WASM.proc_exit(rval int)