syscall.sh / arc / shutdown

shutdown

shut down part of a full-duplex connection

sys_shutdown(int fd, int how)
number210 (0xd2)
abicommon
entry pointsys_shutdown
sinceLinux 3.9
man pageshutdown(2)
sourceelixir.bootlin.com

Registers

registervalue
r8210, the syscall number
r0int fd
r1int how
r0the return value

Then run trap0 to enter the kernel.

Same syscall on other architectures

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