1EXIT_GROUP(2)              Linux Programmer's Manual             EXIT_GROUP(2)
2
3
4

NAME

6       exit_group - exit all threads in a process
7

SYNOPSIS

9       #include <sys/syscall.h>       /* Definition of SYS_* constants */
10       #include <unistd.h>
11
12       noreturn void syscall(SYS_exit_group, int status);
13
14       Note: glibc provides no wrapper for exit_group(), necessitating the use
15       of syscall(2).
16

DESCRIPTION

18       This system call is equivalent to _exit(2) except  that  it  terminates
19       not  only  the calling thread, but all threads in the calling process's
20       thread group.
21

RETURN VALUE

23       This system call does not return.
24

VERSIONS

26       This call is present since Linux 2.5.35.
27

CONFORMING TO

29       This call is Linux-specific.
30

NOTES

32       Since glibc 2.3, this is the system  call  invoked  when  the  _exit(2)
33       wrapper function is called.
34

SEE ALSO

36       exit(2)
37

COLOPHON

39       This  page  is  part of release 5.13 of the Linux man-pages project.  A
40       description of the project, information about reporting bugs,  and  the
41       latest     version     of     this    page,    can    be    found    at
42       https://www.kernel.org/doc/man-pages/.
43
44
45
46Linux                             2021-06-20                     EXIT_GROUP(2)
Impressum