syscall.sh / mips64 / exit

exit

terminate the calling thread

sys_exit(int error_code)
number5058 (0x13c2)
abin64
entry pointsys_exit
sinceLinux 5.0
man pageexit(2)
sourceelixir.bootlin.com

Registers

registervalue
v05058, the syscall number
a0int error_code
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/exit