syscall.sh / x32 / write

write

write to a file descriptor

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

Registers

registervalue
rax1073741825, the syscall number
rdiunsigned int fd
rsiconst char *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/write