1exit_group(2) System Calls Manual exit_group(2)
2
3
4
6 exit_group - exit all threads in a process
7
9 Standard C library (libc, -lc)
10
12 #include <sys/syscall.h> /* Definition of SYS_* constants */
13 #include <unistd.h>
14
15 [[noreturn]] void syscall(SYS_exit_group, int status);
16
17 Note: glibc provides no wrapper for exit_group(), necessitating the use
18 of syscall(2).
19
21 This system call terminates all threads in the calling process's thread
22 group.
23
25 This system call does not return.
26
28 Linux.
29
31 Linux 2.5.35.
32
34 Since glibc 2.3, this is the system call invoked when the _exit(2)
35 wrapper function is called.
36
38 _exit(2)
39
40
41
42Linux man-pages 6.04 2023-03-30 exit_group(2)