Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion phases/ephemeral/witx/wasi_ephemeral_preview0.witx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
)
;; Return command-line argument data sizes.
(@interface func (export "environ_sizes_get")
(result $error $errno_t)
;; The number of arguments.
(result $argc $size_t)
;; The size of the argument string data.
Expand Down Expand Up @@ -373,6 +374,7 @@
;; file descriptors derived from it.
(param $fs_rights_base $rights_t)
(param $fs_rights_inherting $rights_t)
(param $flags $fdflags_t)
(result $error $errno_t)
;; The file descriptor of the file that has been opened.
(result $opened_fd $fd_t)
Expand Down Expand Up @@ -468,7 +470,7 @@

;; Temporarily yield execution of the calling thread.
;; Note: This is similar to `sched_yield` in POSIX.
(@interface func (export "proc_sched_yield")
(@interface func (export "sched_yield")
(result $error $errno_t)
)

Expand Down
4 changes: 3 additions & 1 deletion phases/old/witx/wasi_unstable.witx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
)
;; Return command-line argument data sizes.
(@interface func (export "environ_sizes_get")
(result $error $errno_t)
;; The number of arguments.
(result $argc $size_t)
;; The size of the argument string data.
Expand Down Expand Up @@ -376,6 +377,7 @@
;; file descriptors derived from it.
(param $fs_rights_base $rights_t)
(param $fs_rights_inherting $rights_t)
(param $flags $fdflags_t)
(result $error $errno_t)
;; The file descriptor of the file that has been opened.
(result $opened_fd $fd_t)
Expand Down Expand Up @@ -471,7 +473,7 @@

;; Temporarily yield execution of the calling thread.
;; Note: This is similar to `sched_yield` in POSIX.
(@interface func (export "proc_sched_yield")
(@interface func (export "sched_yield")
(result $error $errno_t)
)

Expand Down
4 changes: 3 additions & 1 deletion phases/unstable/witx/wasi_unstable_preview0.witx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
)
;; Return command-line argument data sizes.
(@interface func (export "environ_sizes_get")
(result $error $errno_t)
;; The number of arguments.
(result $argc $size_t)
;; The size of the argument string data.
Expand Down Expand Up @@ -373,6 +374,7 @@
;; file descriptors derived from it.
(param $fs_rights_base $rights_t)
(param $fs_rights_inherting $rights_t)
(param $flags $fdflags_t)
(result $error $errno_t)
;; The file descriptor of the file that has been opened.
(result $opened_fd $fd_t)
Expand Down Expand Up @@ -468,7 +470,7 @@

;; Temporarily yield execution of the calling thread.
;; Note: This is similar to `sched_yield` in POSIX.
(@interface func (export "proc_sched_yield")
(@interface func (export "sched_yield")
(result $error $errno_t)
)

Expand Down