Skip to content

man[23]: SYNOPSIS: Use 'noreturn' in prototypes.

Alejandro Colomar linux-man 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6abort.3: SYNOPSIS: Use 'noreturn' in prototypesman3/abort.3+1 -11 reply
2/6_exit.2: SYNOPSIS: Use 'noreturn' in prototypesman2/_exit.2+2 -20 replies
3/6err.3: SYNOPSIS: Use 'noreturn' in prototypesman3/err.3+4 -40 replies
4/6exit.3: SYNOPSIS: Use 'noreturn' in prototypesman3/exit.3+1 -10 replies
5/6pthread_exit.3: SYNOPSIS: Use 'noreturn' in prototypesman3/pthread_exit.3+1 -10 replies
6/6setjmp.3: SYNOPSIS: Use 'noreturn' in prototypesman3/setjmp.3+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] man[23]: SYNOPSIS: Use 'noreturn' in prototypes.

Hi Michael,

Here's a patch for using 'noreturn' in the prototypes that never return, such as exit(), abort(), longjmp(), etc, using standard C (C11) syntax.

This patch set fixes all of man2 and man3.

Cheers,

Alex

......

This was useful:

.../glibc$ man_lsfunc ../../linux/man-pages/man[23] \
           |while read -r syscall; do
           	echo "=============================  ${syscall}";
           	grep_glibc_prototype ${syscall} \
           	|sed -e 's/\bextern //' \
           	|pcregrep -M '(?s).*noreturn.*';
           done \
           |less;

---
Alejandro Colomar (6):
abort.3: SYNOPSIS: Use 'noreturn' in prototypes _exit.2: SYNOPSIS: Use 'noreturn' in prototypes err.3: SYNOPSIS: Use 'noreturn' in prototypes exit.3: SYNOPSIS: Use 'noreturn' in prototypes pthread_exit.3: SYNOPSIS: Use 'noreturn' in prototypes setjmp.3: SYNOPSIS: Use 'noreturn' in prototypes

 man2/_exit.2        | 4 ++--
 man3/abort.3        | 2 +-
 man3/err.3          | 8 ++++----
 man3/exit.3         | 2 +-
 man3/pthread_exit.3 | 2 +-
 man3/setjmp.3       | 4 ++--
 6 files changed, 11 insertions(+), 11 deletions(-)
Signature · 1 line
2.30.1.721.g45526154a5