syscall.sh / m68k / fchdir

fchdir

change working directory

sys_fchdir(unsigned int fd)
number133 (0x85)
abicommon
entry pointsys_fchdir
sinceLinux 5.0
man pagefchdir(2)
sourceelixir.bootlin.com

Registers

registervalue
d0133, the syscall number
d1unsigned int fd
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/fchdir