pub fn sys_getdents(
fd: u32,
buf_ptr: u64,
buf_len: u64,
) -> Result<u64, SyscallError>Expand description
Syscall handler for getdents.
Writes a packed array of KernelDirent entries into the user buffer.
Returns the number of bytes written.