From d8a9e2bbf5f3e483e35f2a8410d09b4ee268e6a4 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Thu, 18 Feb 2021 22:23:55 +0100 Subject: [PATCH] _exit.2: SYNOPSIS: Use 'noreturn' in prototypes POSIX specifies that _exit() and _Exit() shall not return. Glibc uses __attribute__((__noreturn__)). Let's use standard C11 'noreturn' in the manual page. Signed-off-by: Alejandro Colomar Signed-off-by: Michael Kerrisk --- man2/_exit.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man2/_exit.2 b/man2/_exit.2 index fe43f47ce..6e8e77a84 100644 --- a/man2/_exit.2 +++ b/man2/_exit.2 @@ -33,11 +33,11 @@ _exit, _Exit \- terminate the calling process .nf .B #include .PP -.BI "void _exit(int " status ); +.BI "noreturn void _exit(int " status ); .PP .B #include .PP -.BI "void _Exit(int " status ); +.BI "noreturn void _Exit(int " status ); .fi .PP .RS -4