exit_group
(2)exit all threads in a process
#include <sys/syscall.h> /* Definition of SYS_* constants */ #include <unistd.h> [[noreturn]] void syscall(SYS_exit_group, int status); Note: glibc provides no wrapper for exit_group(), necessitating the use of syscall(2).