pub fn new_pipe(
locked: &mut Locked<Unlocked>,
current_task: &CurrentTask,
) -> Result<(FileHandle, FileHandle), Errno>Expand description
Creates a new pipe between the two returned FileObjects.
The first FileObject is the read endpoint of the pipe. The second is the write endpoint of the pipe. This order matches the order expected by sys_pipe2().