From 3d08cd331c1adcf0d917392f7e527b3f00511748 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 24 May 2024 06:52:22 +0200 Subject: Merging upstream version 6.8. Signed-off-by: Daniel Baumann --- man/man2/exit_group.2 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 man/man2/exit_group.2 (limited to 'man/man2/exit_group.2') diff --git a/man/man2/exit_group.2 b/man/man2/exit_group.2 new file mode 100644 index 0000000..32e0782 --- /dev/null +++ b/man/man2/exit_group.2 @@ -0,0 +1,38 @@ +.\" Copyright (C) 2004 Andries Brouwer (aeb@cwi.nl) +.\" +.\" SPDX-License-Identifier: Linux-man-pages-copyleft +.\" +.TH exit_group 2 2024-05-02 "Linux man-pages (unreleased)" +.SH NAME +exit_group \- exit all threads in a process +.SH LIBRARY +Standard C library +.RI ( libc ", " \-lc ) +.SH SYNOPSIS +.nf +.BR "#include " " /* Definition of " SYS_* " constants */" +.B #include +.P +.BI "[[noreturn]] void syscall(SYS_exit_group, int " status ); +.fi +.P +.IR Note : +glibc provides no wrapper for +.BR exit_group (), +necessitating the use of +.BR syscall (2). +.SH DESCRIPTION +This system call terminates all threads +in the calling process's thread group. +.SH RETURN VALUE +This system call does not return. +.SH STANDARDS +Linux. +.SH HISTORY +Linux 2.5.35. +.SH NOTES +Since glibc 2.3, this is the system call invoked when the +.BR _exit (2) +wrapper function is called. +.SH SEE ALSO +.BR _exit (2) -- cgit v1.2.3