syscall.sh / m68k / rmdir

rmdir

delete a directory

sys_rmdir(const char *pathname)
number40 (0x28)
abicommon
entry pointsys_rmdir
sinceLinux 5.0
man pagermdir(2)
sourceelixir.bootlin.com

Registers

registervalue
d040, the syscall number
d1const char *pathname
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/rmdir