syscall.sh / alpha / shutdown
shutdown
shut down part of a full-duplex connection
sys_shutdown(int fd, int how)
| number | 134 (0x86) |
|---|---|
| abi | common |
| entry point | sys_shutdown |
| since | Linux 5.0 |
| man page | shutdown(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 134, the syscall number |
a0 | int fd |
a1 | int how |
v0 | the return value |
Then run callsys to enter the kernel.
Same syscall on other architectures
- x64 48
- x86 373
- arm64 210
- arm 293
- riscv64 210
- x32 1073741872
- loongarch64 210
- ppc64 338
- ppc 338
- s390x 373
- mips64 5047
- mipsn32 6047
- mipso32 4182
- arc 210
- csky 210
- hexagon 210
- m68k 370
- microblaze 359
- nios2 210
- openrisc 210
- parisc 117
- sh 352
- sparc 134
- sparc64 134
- xtensa 99
Get this as JSON: https://api.syscall.sh/v2/syscalls/alpha/shutdown