mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
wasi: import environ_get and environ_sizes_get
This commit is contained in:
parent
01365be82f
commit
8e700bf92a
@ -13,8 +13,10 @@ pub const SIGABRT: signal_t = 6;
|
||||
pub extern "wasi_unstable" fn args_get(argv: [*][*]u8, argv_buf: [*]u8) errno_t;
|
||||
pub extern "wasi_unstable" fn args_sizes_get(argc: *usize, argv_buf_size: *usize) errno_t;
|
||||
|
||||
pub extern "wasi_unstable" fn proc_raise(sig: signal_t) errno_t;
|
||||
pub extern "wasi_unstable" fn environ_get(environ: [*][*]u8, environ_buf: [*]u8) errno_t;
|
||||
pub extern "wasi_unstable" fn environ_sizes_get(environ_count: *usize, environ_buf_size: *usize) errno_t;
|
||||
|
||||
pub extern "wasi_unstable" fn proc_raise(sig: signal_t) errno_t;
|
||||
pub extern "wasi_unstable" fn proc_exit(rval: exitcode_t) noreturn;
|
||||
|
||||
pub extern "wasi_unstable" fn fd_write(fd: fd_t, iovs: *const ciovec_t, iovs_len: usize, nwritten: *usize) errno_t;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user