Glibc uses __attribute__((__noreturn__)) for [v]err[x](). These functions never return. Let's use standard C11 'noreturn' in the manual page. Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man3/err.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/man3/err.3 b/man3/err.3 index 128afde6a..a4d4eb620 100644 --- a/man3/err.3 +++ b/man3/err.3 @@ -43,16 +43,16 @@ err, verr, errx, verrx, warn, vwarn, warnx, vwarnx \- formatted error messages .nf .B #include <err.h> .PP -.BI "void err(int " eval ", const char *" fmt ", ...);" -.BI "void errx(int " eval ", const char *" fmt ", ...);" +.BI "noreturn void err(int " eval ", const char *" fmt ", ...);" +.BI "noreturn void errx(int " eval ", const char *" fmt ", ...);" .PP .BI "void warn(const char *" fmt ", ...);" .BI "void warnx(const char *" fmt ", ...);" .PP .B #include <stdarg.h> .PP -.BI "void verr(int " eval ", const char *" fmt ", va_list " args ); -.BI "void verrx(int " eval ", const char *" fmt ", va_list " args ); +.BI "noreturn void verr(int " eval ", const char *" fmt ", va_list " args ); +.BI "noreturn void verrx(int " eval ", const char *" fmt ", va_list " args ); .PP .BI "void vwarn(const char *" fmt ", va_list " args ); .BI "void vwarnx(const char *" fmt ", va_list " args ); -- 2.30.1.721.g45526154a5