syscall.sh / m68k / read

read

read from a file descriptor

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

Registers

registervalue
d03, the syscall number
d1unsigned int fd
d2char *buf
d3size_t count
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/read