syscall.sh / mips64 / fchdir
fchdir
change working directory
sys_fchdir(unsigned int fd)
| number | 5079 (0x13d7) |
|---|---|
| abi | n64 |
| entry point | sys_fchdir |
| since | Linux 5.0 |
| man page | fchdir(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5079, the syscall number |
a0 | unsigned int fd |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 81
- x86 133
- arm64 50
- arm 133
- riscv64 50
- x32 1073741905
- loongarch64 50
- ppc64 133
- ppc 133
- s390x 133
- mipsn32 6079
- mipso32 4133
- alpha 13
- arc 50
- csky 50
- hexagon 50
- m68k 133
- microblaze 133
- nios2 50
- openrisc 50
- parisc 133
- sh 133
- sparc 176
- sparc64 176
- xtensa 42
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/fchdir