syscall.sh / x86 / unlinkat

unlinkat

delete a name and possibly the file it refers to

sys_unlinkat(int dfd, const char *pathname, int flag)
number301 (0x12d)
abii386
entry pointsys_unlinkat
sinceLinux 3.3
man pageunlinkat(2)
sourceelixir.bootlin.com

Registers

registervalue
eax301, the syscall number
ebxint dfd
ecxconst char *pathname
edxint flag
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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