syscall.sh / x64 / rmdir

rmdir

delete a directory

sys_rmdir(const char *pathname)
number84 (0x54)
abicommon
entry pointsys_rmdir
sinceLinux 3.3
man pagermdir(2)
sourceelixir.bootlin.com

Registers

registervalue
rax84, the syscall number
rdiconst char *pathname
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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