[][src]Function cloudabi::poll

pub unsafe fn poll(
    in_: *const subscription,
    out_: *mut event,
    nsubscriptions_: usize,
    nevents_: *mut usize
) -> errno

Concurrently polls 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.

nevents: The number of events stored.