syscall.sh / arc / unlinkat

unlinkat

delete a name and possibly the file it refers to

sys_unlinkat(int dfd, const char *pathname, int flag)
number35 (0x23)
abicommon
entry pointsys_unlinkat
sinceLinux 3.9
man pageunlinkat(2)
sourceelixir.bootlin.com

Registers

registervalue
r835, the syscall number
r0int dfd
r1const char *pathname
r2int flag
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/arc/unlinkat