]>
Commit | Line | Data |
---|---|---|
fea681da MK |
1 | .\" Copyright (C) 2004 Andries Brouwer (aeb@cwi.nl) |
2 | .\" | |
93015253 | 3 | .\" %%%LICENSE_START(VERBATIM) |
fea681da MK |
4 | .\" Permission is granted to make and distribute verbatim copies of this |
5 | .\" manual provided the copyright notice and this permission notice are | |
6 | .\" preserved on all copies. | |
7 | .\" | |
8 | .\" Permission is granted to copy and distribute modified versions of this | |
9 | .\" manual under the conditions for verbatim copying, provided that the | |
10 | .\" entire resulting derived work is distributed under the terms of a | |
11 | .\" permission notice identical to this one. | |
c13182ef | 12 | .\" |
fea681da MK |
13 | .\" Since the Linux kernel and libraries are constantly changing, this |
14 | .\" manual page may be incorrect or out-of-date. The author(s) assume no | |
15 | .\" responsibility for errors or omissions, or for damages resulting from | |
16 | .\" the use of the information contained herein. The author(s) may not | |
17 | .\" have taken the same level of care in the production of this manual, | |
18 | .\" which is licensed free of charge, as they might when working | |
19 | .\" professionally. | |
c13182ef | 20 | .\" |
fea681da MK |
21 | .\" Formatted or processed versions of this manual, if unaccompanied by |
22 | .\" the source, must acknowledge the copyright and authors of this work. | |
4b72fb64 | 23 | .\" %%%LICENSE_END |
fea681da | 24 | .\" |
6a69a198 | 25 | .TH EXIT_GROUP 2 2008-11-27 "Linux" "Linux Programmer's Manual" |
fea681da MK |
26 | .SH NAME |
27 | exit_group \- exit all threads in a process | |
28 | .SH SYNOPSIS | |
29 | .nf | |
30 | .B #include <linux/unistd.h> | |
68e4db0a | 31 | .PP |
fea681da | 32 | .BI "void exit_group(int " status ); |
c8250206 | 33 | .fi |
fea681da MK |
34 | .SH DESCRIPTION |
35 | This system call is equivalent to | |
8fc9ce24 | 36 | .BR _exit (2) |
7218bcea MK |
37 | except that it terminates not only the calling thread, but all threads |
38 | in the calling process's thread group. | |
47297adb | 39 | .SH RETURN VALUE |
fea681da | 40 | This system call does not return. |
889829be | 41 | .SH VERSIONS |
fea681da | 42 | This call is present since Linux 2.5.35. |
47297adb | 43 | .SH CONFORMING TO |
8382f16d | 44 | This call is Linux-specific. |
6a69a198 MK |
45 | .SH NOTES |
46 | Since glibc 2.3, this is the system call invoked when the | |
8fc9ce24 | 47 | .BR _exit (2) |
6a69a198 | 48 | wrapper function is called. |
47297adb | 49 | .SH SEE ALSO |
fea681da | 50 | .BR exit (2) |