1exit_group(2)                 System Calls Manual                exit_group(2)
2
3
4

NAME

6       exit_group - exit all threads in a process
7

LIBRARY

9       Standard C library (libc, -lc)
10

SYNOPSIS

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

DESCRIPTION

21       This system call terminates all threads in the calling process's thread
22       group.
23

RETURN VALUE

25       This system call does not return.
26

STANDARDS

28       Linux.
29

HISTORY

31       Linux 2.5.35.
32

NOTES

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

SEE ALSO

38       _exit(2)
39
40
41
42Linux man-pages 6.04              2023-03-30                     exit_group(2)
Impressum