syscall.sh / m68k / shutdown

shutdown

shut down part of a full-duplex connection

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

Registers

registervalue
d0370, the syscall number
d1int fd
d2int how
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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