]> git.ipfire.org Git - thirdparty/man-pages.git/blame - man2/exit_group.2
ip.7: tfix
[thirdparty/man-pages.git] / man2 / exit_group.2
CommitLineData
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
27exit_group \- exit all threads in a process
28.SH SYNOPSIS
29.nf
30.B #include <linux/unistd.h>
31.sp
32.BI "void exit_group(int " status );
c8250206 33.fi
fea681da
MK
34.SH DESCRIPTION
35This system call is equivalent to
36.BR exit (2)
7218bcea
MK
37except that it terminates not only the calling thread, but all threads
38in the calling process's thread group.
47297adb 39.SH RETURN VALUE
fea681da 40This system call does not return.
889829be 41.SH VERSIONS
fea681da 42This call is present since Linux 2.5.35.
47297adb 43.SH CONFORMING TO
8382f16d 44This call is Linux-specific.
6a69a198
MK
45.SH NOTES
46Since glibc 2.3, this is the system call invoked when the
47.BR exit (2)
48wrapper function is called.
47297adb 49.SH SEE ALSO
fea681da 50.BR exit (2)