Skip to main content

xila_pipe_create

Function xila_pipe_create 

Source
pub unsafe extern "C" fn xila_pipe_create(
    process: *const Process,
    flags: u32,
    reader: *mut *mut File,
    writer: *mut *mut File,
) -> Status
Expand description

Create an unnamed pipe. Only XILA_OPEN_NON_BLOCKING is accepted in flags.

ยงSafety

Process must be a live capability. Both outputs must be aligned, writable, distinct and disjoint from the process.