syscall.sh / mipsn32 / getdents64
getdents64
get directory entries
sys_getdents64(unsigned int fd, struct linux_dirent64 *dirent, unsigned int count)
| number | 6299 (0x189b) |
|---|---|
| abi | n32 |
| entry point | sys_getdents64 |
| since | Linux 5.0 |
| man page | getdents64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 6299, the syscall number |
a0 | unsigned int fd |
a1 | struct linux_dirent64 *dirent |
a2 | unsigned int count |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 217
- x86 220
- arm64 61
- arm 217
- riscv64 61
- x32 1073742041
- loongarch64 61
- ppc64 202
- ppc 202
- s390x 220
- mips64 5308
- mipso32 4219
- alpha 377
- arc 61
- csky 61
- hexagon 61
- m68k 220
- microblaze 220
- nios2 61
- openrisc 61
- parisc 201
- sh 220
- sparc 154
- sparc64 154
- xtensa 60
Get this as JSON: https://api.syscall.sh/v2/syscalls/mipsn32/getdents64