syscall.sh / x32 / exit

exit

terminate the calling thread

sys_exit(int error_code)
number1073741884 (0x4000003c)
abicommon
entry pointsys_exit
sinceLinux 3.4
man pageexit(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741884, the syscall number
rdiint error_code
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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