syscall.sh / x86 / shutdown

shutdown

shut down part of a full-duplex connection

sys_shutdown(int fd, int how)
number373 (0x175)
abii386
entry pointsys_shutdown
sinceLinux 4.3
man pageshutdown(2)
sourceelixir.bootlin.com

Registers

registervalue
eax373, the syscall number
ebxint fd
ecxint how
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/shutdown