Function sys_readv
Source pub fn sys_readv(abi: &mut LinuxRiscv64Abi, trapframe: &mut Trapframe) -> usize
Expand description
Linux readv system call implementation
This system call reads data into multiple buffers (iovec) in a single call.
§Arguments
- fd: File descriptor
- iovec: Array of iovec structures
- iovcnt: Number of elements in the array
§Returns
- On success: number of bytes read
- On error: usize::MAX