syscall.sh / xtensa / rmdir

rmdir

delete a directory

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

Registers

registervalue
a239, the syscall number
a6const char *pathname
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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