syscall.sh / alpha / readlink

readlink

read value of a symbolic link

sys_readlink(const char *path, char *buf, int bufsiz)
number58 (0x3a)
abicommon
entry pointsys_readlink
sinceLinux 5.0
man pagereadlink(2)
sourceelixir.bootlin.com

Registers

registervalue
v058, the syscall number
a0const char *path
a1char *buf
a2int bufsiz
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/readlink