syscall.sh / x32 / readlink

readlink

read value of a symbolic link

sys_readlink(const char *path, char *buf, int bufsiz)
number1073741913 (0x40000059)
abicommon
entry pointsys_readlink
sinceLinux 3.4
man pagereadlink(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741913, the syscall number
rdiconst char *path
rsichar *buf
rdxint bufsiz
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/x32/readlink