From bf4f7a78672800b5143ed42adbeb57c18c54fbc4 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 30 Aug 2021 23:42:16 +0200 Subject: [PATCH] exit_group.2: Remove a confusing reference to _exit(2) in DESCRIPTION As noted by Jakub: BTW, the exit_group.2 man page could use an update (possibly by merging it into exit.2): it says that the "system call is is equivalent to _exit(2) except that it terminates not only the calling thread, but all threads in the calling process's thread group", which isn't helpful these days. Reported-by: Jakub Wilk Signed-off-by: Michael Kerrisk --- man2/exit_group.2 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/man2/exit_group.2 b/man2/exit_group.2 index fc8cbe9ef..a6a6d9b26 100644 --- a/man2/exit_group.2 +++ b/man2/exit_group.2 @@ -39,9 +39,7 @@ glibc provides no wrapper for necessitating the use of .BR syscall (2). .SH DESCRIPTION -This system call is equivalent to -.BR _exit (2) -except that it terminates not only the calling thread, but all threads +This system call terminates all threads in the calling process's thread group. .SH RETURN VALUE This system call does not return.