Skip to main content

create_fuchsia_pipe

Function create_fuchsia_pipe 

Source
pub fn create_fuchsia_pipe(
    current_task: &CurrentTask,
    socket: Socket,
    flags: OpenFlags,
) -> Result<FileHandle, Errno>
Expand description

Creates a pipefs-backed FileHandle (S_IFIFO) from a zx::Socket.