Sha256: 74e7912b73a11449100a64f27cc27e0f77a360601cbbdc48131d5d06678b6c56

Contents?: true

Size: 918 Bytes

Versions: 25

Compression:

Stored size: 918 Bytes

Contents

;; WASI Poll API.
;;
;; Some content here is derived from [CloudABI](https://github.com/NuxiNL/cloudabi).
;;
;; This is a `witx` file. See [here](https://github.com/WebAssembly/WASI/tree/master/docs/witx.md)
;; for an explanation of what that means.

(use "typenames.witx")

(module $wasi_ephemeral_poll
  ;;; Linear memory to be accessed by WASI functions that need it.
  (import "memory" (memory))

  ;;; Concurrently poll for the occurrence of a set of events.
  ;;;
  ;;; If `nsubscriptions` is 0, returns `errno::inval`.
  (@interface func (export "oneoff")
    ;;; The events to which to subscribe.
    (param $in (@witx const_pointer $subscription))
    ;;; The events that have occurred.
    (param $out (@witx pointer $event))
    ;;; Both the number of subscriptions and events.
    (param $nsubscriptions $size)
    ;;; The number of events stored.
    (result $error (expected $size (error $errno)))
  )
)

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
wasmtime-18.0.3 ./ext/cargo-vendor/wasi-common-18.0.3/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-17.0.1 ./ext/cargo-vendor/wasi-common-17.0.1/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-17.0.0 ./ext/cargo-vendor/wasi-common-17.0.0/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-16.0.0 ./ext/cargo-vendor/wasi-common-16.0.0/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-15.0.1 ./ext/cargo-vendor/wasi-common-15.0.1/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-15.0.0 ./ext/cargo-vendor/wasi-common-15.0.0/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-14.0.4 ./ext/cargo-vendor/wasi-common-14.0.4/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-14.0.3 ./ext/cargo-vendor/wasi-common-14.0.3/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-14.0.1 ./ext/cargo-vendor/wasi-common-14.0.1/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-14.0.0 ./ext/cargo-vendor/wasi-common-14.0.0/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-13.0.0 ./ext/cargo-vendor/wasi-common-13.0.0/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-12.0.1 ./ext/cargo-vendor/wasi-common-12.0.1/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-12.0.0 ./ext/cargo-vendor/wasi-common-12.0.0/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-11.0.0 ./ext/cargo-vendor/wasi-common-11.0.0/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-10.0.1 ./ext/cargo-vendor/wasi-common-10.0.1/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-10.0.0 ./ext/cargo-vendor/wasi-common-10.0.0/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-9.0.4 ./ext/cargo-vendor/wasi-common-9.0.4/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-9.0.1 ./ext/cargo-vendor/wasi-common-9.0.1/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-8.0.0 ./ext/cargo-vendor/wasi-common-8.0.0/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx
wasmtime-7.0.0 ./ext/cargo-vendor/wasi-common-7.0.0/WASI/phases/ephemeral/witx/wasi_ephemeral_poll.witx