9.3 exit

void exit(uint64_t status);

This syscall terminates the calling process "immediately". Any open file descriptors belonging to the process to be closed, and any threads of execution are terminated.

This syscall does not return any value, but it sets errno on failure: