syscall.sh / openrisc / 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.7
man pageunlinkat(2)
sourceelixir.bootlin.com

Registers

registervalue
r1135, the syscall number
r3int dfd
r4const char *pathname
r5int flag
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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