From cd356fa1924abe0cd543e0afc49040108a30f0f1 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 4 Mar 2020 22:36:31 +0100 Subject: [PATCH] _exit.2: Clarify that raw _exit() system call terminates only the calling thread Signed-off-by: Michael Kerrisk --- man2/_exit.2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/man2/_exit.2 b/man2/_exit.2 index dd1c401e8..89b1e1c00 100644 --- a/man2/_exit.2 +++ b/man2/_exit.2 @@ -118,6 +118,9 @@ wrapper function invoked the kernel system call of the same name. Since glibc 2.3, the wrapper function invokes .BR exit_group (2), in order to terminate all of the threads in a process. +(The raw +.BR _exit () +system call terminates only the calling thread.) .SH SEE ALSO .BR execve (2), .BR exit_group (2),