syscall.sh / ppc64 / shutdown

shutdown

shut down part of a full-duplex connection

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

Registers

registervalue
r0338, the syscall number
r3int fd
r4int how
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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