Function sys_write

Source
pub fn sys_write(
    fd: i32,
    buf: UserConstPtr<u8>,
    len: usize,
) -> LinuxResult<isize>
Expand description

Write data to the file indicated by fd.

Return the written size if success.