syscall.sh / x86 / writev
writev
read or write data into multiple buffers
sys_writev(unsigned long fd, const struct iovec *vec, unsigned long vlen)
| number | 146 (0x92) |
|---|---|
| abi | i386 |
| entry point | sys_writev |
| since | Linux 3.3 |
| man page | writev(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 146, the syscall number |
ebx | unsigned long fd |
ecx | const struct iovec *vec |
edx | unsigned long vlen |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 20
- arm64 66
- arm 146
- riscv64 66
- x32 1073742340
- loongarch64 66
- ppc64 146
- ppc 146
- s390x 146
- mips64 5019
- mipsn32 6019
- mipso32 4146
- alpha 121
- arc 66
- csky 66
- hexagon 66
- m68k 146
- microblaze 146
- nios2 66
- openrisc 66
- parisc 146
- sh 146
- sparc 121
- sparc64 121
- xtensa 25
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/writev