[−][src]Function wasi::poll_oneoff
pub unsafe fn poll_oneoff(
in: *const Subscription,
out: *mut Event,
nsubscriptions: Size
) -> Result<Size>
Concurrently poll for the occurrence of a set of events.
Parameters
r#in
- The events to which to subscribe.out
- The events that have occurred.nsubscriptions
- Both the number of subscriptions and events.
Return
nevents
- The number of events stored.