pub fn write(fd: RawFd, buf: &[u8]) -> SysResult<usize>
Writes bytes from buf to fd, returning the number of bytes written.
buf
fd