syscall.sh / x32 / read

read

read from a file descriptor

sys_read(unsigned int fd, char *buf, size_t count)
number1073741824 (0x40000000)
abicommon
entry pointsys_read
sinceLinux 3.4
man pageread(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741824, the syscall number
rdiunsigned int fd
rsichar *buf
rdxsize_t count
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/read