| ... | @@ -13,8 +13,10 @@ pub const SIGABRT: signal_t = 6; | ... | @@ -13,8 +13,10 @@ pub const SIGABRT: signal_t = 6; |
| 13 | pub extern "wasi_unstable" fn args_get(argv: [*][*]u8, argv_buf: [*]u8) errno_t; | 13 | pub extern "wasi_unstable" fn args_get(argv: [*][*]u8, argv_buf: [*]u8) errno_t; |
| 14 | pub extern "wasi_unstable" fn args_sizes_get(argc: *usize, argv_buf_size: *usize) errno_t; | 14 | pub extern "wasi_unstable" fn args_sizes_get(argc: *usize, argv_buf_size: *usize) errno_t; |
| 15 | | 15 | |
| 16 | pub extern "wasi_unstable" fn proc_raise(sig: signal_t) errno_t; | 16 | pub extern "wasi_unstable" fn environ_get(environ: [*][*]u8, environ_buf: [*]u8) errno_t; |
| | 17 | pub extern "wasi_unstable" fn environ_sizes_get(environ_count: *usize, environ_buf_size: *usize) errno_t; |
| 17 | | 18 | |
| | 19 | pub extern "wasi_unstable" fn proc_raise(sig: signal_t) errno_t; |
| 18 | pub extern "wasi_unstable" fn proc_exit(rval: exitcode_t) noreturn; | 20 | pub extern "wasi_unstable" fn proc_exit(rval: exitcode_t) noreturn; |
| 19 | | 21 | |
| 20 | pub extern "wasi_unstable" fn fd_write(fd: fd_t, iovs: *const ciovec_t, iovs_len: usize, nwritten: *usize) errno_t; | 22 | pub extern "wasi_unstable" fn fd_write(fd: fd_t, iovs: *const ciovec_t, iovs_len: usize, nwritten: *usize) errno_t; |