sendto on ia32

send a message on a socket

sys_sendto(int fd, void *buff, size_t len, unsigned int flags, struct sockaddr *addr, int addr_len)
number369 (0x171)
abii386
entry pointsys_sendto
sinceLinux 4.3
man pagesendto(2)
sourceelixir.bootlin.com

Registers

registervalue
eax369, the syscall number
ebxint fd
ecxvoid *buff
edxsize_t len
esiunsigned int flags
edistruct sockaddr *addr
ebpint addr_len
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/sendto