Function libnotcurses_sys::ffi::ncdirect_inputready_fd [−][src]
pub unsafe extern "C" fn ncdirect_inputready_fd(n: *mut ncdirect) -> c_int
Expand description
Get a file descriptor suitable for input event poll()ing. When this descriptor becomes available, you can call ncdirect_getc_nblock(), and input ought be ready. This file descriptor is not necessarily the file descriptor associated with stdin (but it might be!).