syscall.sh / s390x / shutdown

shutdown

shut down part of a full-duplex connection

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

Registers

registervalue
r1373, the syscall number
r2int fd
r3int how
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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