syscall.sh / loongarch64 / shutdown

shutdown

shut down part of a full-duplex connection

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

Registers

registervalue
a7210, the syscall number
a0int fd
a1int how
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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