Function sys_read

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

Read data from the file indicated by fd.

Return the read size if success.