syscall.sh / x32 / shutdown

shutdown

shut down part of a full-duplex connection

sys_shutdown(int fd, int how)
number1073741872 (0x40000030)
abicommon
entry pointsys_shutdown
sinceLinux 3.4
man pageshutdown(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741872, the syscall number
rdiint fd
rsiint how
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/shutdown