syscall.sh / x64 / unlink

unlink

delete a name and possibly the file it refers to

sys_unlink(const char *pathname)
number87 (0x57)
abicommon
entry pointsys_unlink
sinceLinux 3.3
man pageunlink(2)
sourceelixir.bootlin.com

Registers

registervalue
rax87, 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/unlink