syscall.sh / ppc64 / 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
r040, the syscall number
r3const char *pathname
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ppc64/rmdir