syscall.sh / m68k / write

write

write to a file descriptor

sys_write(unsigned int fd, const char *buf, size_t count)
number4 (0x4)
abicommon
entry pointsys_write
sinceLinux 5.0
man pagewrite(2)
sourceelixir.bootlin.com

Registers

registervalue
d04, the syscall number
d1unsigned int fd
d2const char *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/write