Function libnotcurses_sys::ncfdplane_create[][src]

pub unsafe extern "C" fn ncfdplane_create(
    n: *mut ncplane,
    opts: *const ncfdplane_options,
    fd: c_int,
    cbfxn: ncfdplane_callback,
    donecbfxn: ncfdplane_done_cb
) -> *mut ncfdplane
Expand description

Create an ncfdplane around the fd ‘fd’. Consider this function to take ownership of the file descriptor, which will be closed in ncfdplane_destroy().