syscall.sh / alpha / link

link

make a new name for a file

sys_link(const char *oldname, const char *newname)
number9 (0x9)
abicommon
entry pointsys_link
sinceLinux 5.0
man pagelink(2)
sourceelixir.bootlin.com

Registers

registervalue
v09, the syscall number
a0const char *oldname
a1const char *newname
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/link