Functions

extern "wasi_snapshot_preview1" fn args_get([*][*:0]u8, [*]u8) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn args_sizes_get(*usize, *usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn clock_res_get(clockid_t, *timestamp_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn clock_time_get(clockid_t, timestamp_t, *timestamp_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn environ_get([*][*:0]u8, [*]u8) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn environ_sizes_get(*usize, *usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_advise(fd_t, filesize_t, filesize_t, advice_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_allocate(fd_t, filesize_t, filesize_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_close(fd_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_datasync(fd_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_fdstat_get(fd_t, *fdstat_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_fdstat_set_flags(fd_t, fdflags_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_fdstat_set_rights(fd_t, rights_t, rights_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_filestat_get(fd_t, *filestat_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_filestat_set_size(fd_t, filesize_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_filestat_set_times(fd_t, timestamp_t, timestamp_t, fstflags_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_pread(fd_t, [*]const iovec_t, usize, filesize_t, *usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_prestat_dir_name(fd_t, [*]u8, usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_prestat_get(fd_t, *prestat_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_pwrite(fd_t, [*]const ciovec_t, usize, filesize_t, *usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_read(fd_t, [*]const iovec_t, usize, *usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_readdir(fd_t, [*]u8, usize, dircookie_t, *usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_renumber(fd_t, fd_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_seek(fd_t, filedelta_t, whence_t, *filesize_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_sync(fd_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_tell(fd_t, *filesize_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn fd_write(fd_t, [*]const ciovec_t, usize, *usize) callconv(.C) errno_t

No documentation provided.

fn getErrno(r: errno_t) errno_t

Get the errno from a syscall return value, or 0 for no error.

extern "wasi_snapshot_preview1" fn path_create_directory(fd_t, [*]const u8, usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn path_filestat_get(fd_t, lookupflags_t, [*]const u8, usize, *filestat_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn path_filestat_set_times(fd_t, lookupflags_t, [*]const u8, usize, timestamp_t, timestamp_t, fstflags_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn path_link(fd_t, lookupflags_t, [*]const u8, usize, fd_t, [*]const u8, usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn path_open(fd_t, lookupflags_t, [*]const u8, usize, oflags_t, rights_t, rights_t, fdflags_t, *fd_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn path_readlink(fd_t, [*]const u8, usize, [*]u8, usize, *usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn path_remove_directory(fd_t, [*]const u8, usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn path_rename(fd_t, [*]const u8, usize, fd_t, [*]const u8, usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn path_symlink([*]const u8, usize, fd_t, [*]const u8, usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn path_unlink_file(fd_t, [*]const u8, usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn poll_oneoff(*const subscription_t, *event_t, usize, *usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn proc_exit(exitcode_t) callconv(.C) noreturn

No documentation provided.

extern "wasi_snapshot_preview1" fn random_get([*]u8, usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn sched_yield() callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn sock_accept(fd_t, fdflags_t, *fd_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn sock_recv(fd_t, *const iovec_t, usize, riflags_t, *usize, *roflags_t) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn sock_send(fd_t, *const ciovec_t, usize, siflags_t, *usize) callconv(.C) errno_t

No documentation provided.

extern "wasi_snapshot_preview1" fn sock_shutdown(fd_t, sdflags_t) callconv(.C) errno_t

No documentation provided.