Skip to main content

pipe_read

Function pipe_read 

Source
pub fn pipe_read(pipe_fd: usize, buffer: &mut [u8]) -> isize
Expand description

从管道读取数据 返回实际读取的总字节数,负数表示错误