wasiFunction poll_oneoff
Source pub unsafe fn poll_oneoff(
in_: *const Subscription,
out: *mut Event,
nsubscriptions: Size,
) -> Result<Size, Errno>
Expand description
Concurrently poll for the occurrence of a set of events.
§Parameters
in_ - The events to which to subscribe.
out - The events that have occurred.
nsubscriptions - Both the number of subscriptions and events.
§Return
The number of events stored.