rustix::io

Function read

source
pub fn read<Fd: AsFd>(fd: Fd, buf: &mut [u8]) -> Result<usize>
Expand description

read(fd, buf)—Reads from a stream.

§References