Function libzt::zts_bsd_poll[][src]

pub unsafe extern "C" fn zts_bsd_poll(
    fds: *mut zts_pollfd,
    nfds: zts_nfds_t,
    timeout: c_int
) -> c_int
Expand description

@brief Wait for some event on a file descriptor.

@param fds Set of file descriptors to monitor @param nfds Number of elements in the fds array @param timeout How long this call should block @return Number of ready file descriptors if successful, ZTS_ERR_SERVICE if the node experiences a problem, ZTS_ERR_ARG if invalid argument. Sets zts_errno