syscall.sh / m68k / pread64

pread64

read from or write to a file descriptor at a given offset

sys_pread64(unsigned int fd, char *buf, size_t count, loff_t pos)
number180 (0xb4)
abicommon
entry pointsys_pread64
sinceLinux 5.0
man pagepread64(2)
sourceelixir.bootlin.com

Registers

registervalue
d0180, the syscall number
d1unsigned int fd
d2char *buf
d3size_t count
d4loff_t pos
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/pread64