exit_group - exit all threads in a process
Contents
Description
This system call terminates all threads in the calling process's thread group.
History
Linux 2.5.35.
Library
Standard C library (libc, -lc)
Name
exit_group - exit all threads in a process
Notes
Since glibc 2.3, this is the system call invoked when the _exit(2) wrapper function is called.
Return Value
This system call does not return.
See Also
_exit(2)
Linux man-pages 6.9.1 2024-05-02 exit_group(2)
Standards
Linux.
Synopsis
#include<sys/syscall.h> /* Definition of SYS_* constants */
#include<unistd.h>[[noreturn]]voidsyscall(SYS_exit_group,intstatus);Note: glibc provides no wrapper for exit_group(), necessitating the use of syscall(2).
