syscall.sh / riscv64 / shutdown

shutdown

shut down part of a full-duplex connection

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

Registers

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

Then run ecall to enter the kernel.

Same syscall on other architectures

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