[][src]Function syscall::call::write

pub fn write(fd: usize, buf: &[u8]) -> Result<usize>

Write a buffer to a file descriptor

The kernel will attempt to write the bytes in buf to the file descriptor fd, returning either an Err, explained below, or Ok(count) where count is the number of bytes which were written.

Errors