Function xcb::ffi::base::xcb_wait_for_event[][src]

pub unsafe extern "C" fn xcb_wait_for_event(
    c: *mut xcb_connection_t
) -> *mut xcb_generic_event_t

Returns the next event or error from the server.

Returns the next event or error from the server, or returns null in the event of an I/O error. Blocks until either an event or error arrive, or an I/O error occurs.