syscall.sh / nios2 / shutdown

shutdown

shut down part of a full-duplex connection

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

Registers

registervalue
r2210, the syscall number
r4int fd
r5int how
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

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