pub fn write<Fd: AsFd>(fd: Fd, buf: &[u8]) -> Result<usize>
Write to a raw file descriptor.
See also write(2)