OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man2 / exit_group.2
1 .\" Copyright (C) 2004 Andries Brouwer (aeb@cwi.nl)
2 .\"
3 .\" %%%LICENSE_START(VERBATIM)
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.
12 .\"
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.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" %%%LICENSE_END
24 .\"
25 .TH EXIT_GROUP 2 2008-11-27 "Linux" "Linux Programmer's Manual"
26 .SH NAME
27 exit_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 );
33 .fi
34 .SH DESCRIPTION
35 This system call is equivalent to
36 .BR exit (2)
37 except that it terminates not only the calling thread, but all threads
38 in the calling process's thread group.
39 .SH RETURN VALUE
40 This system call does not return.
41 .SH VERSIONS
42 This call is present since Linux 2.5.35.
43 .SH CONFORMING TO
44 This call is Linux-specific.
45 .SH NOTES
46 Since glibc 2.3, this is the system call invoked when the
47 .BR exit (2)
48 wrapper function is called.
49 .SH SEE ALSO
50 .BR exit (2)
51 .SH COLOPHON
52 This page is part of release 3.79 of the Linux
53 .I man-pages
54 project.
55 A description of the project,
56 information about reporting bugs,
57 and the latest version of this page,
58 can be found at
59 \%http://www.kernel.org/doc/man\-pages/.