syscall.sh / sh / shutdown

shutdown

shut down part of a full-duplex connection

sys_shutdown(int fd, int how)
number352 (0x160)
abicommon
entry pointsys_shutdown
sinceLinux 5.0
man pageshutdown(2)
sourceelixir.bootlin.com

Registers

registervalue
r3352, the syscall number
r4int fd
r5int how
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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