[v4,15/35] exit_group.2: Use 'noreturn' in prototypes

Message ID 20210403194026.102818-16-alx.manpages@gmail.com
State Superseded
Headers show
Series
  • SYNOPSIS: Use syscall(SYS_...); and fix '#include's
Related show

Commit Message

Siddhesh Poyarekar via Libc-alpha April 3, 2021, 7:40 p.m.
This function never returns to its caller.

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

---
 man2/exit_group.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.31.0

Patch

diff --git a/man2/exit_group.2 b/man2/exit_group.2
index d26ec8c70..4fd314262 100644
--- a/man2/exit_group.2
+++ b/man2/exit_group.2
@@ -29,7 +29,7 @@  exit_group \- exit all threads in a process
 .nf
 .B #include <linux/unistd.h>
 .PP
-.BI "void exit_group(int " status );
+.BI "noreturn void exit_group(int " status );
 .fi
 .SH DESCRIPTION
 This system call is equivalent to