diff options
| author | Alejandro Colomar <alx.manpages@gmail.com> | 2021-02-18 22:23:54 +0100 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2021-02-19 13:29:34 +0100 |
| commit | 0dfa5792bcfa503855522b30eedadbbe791e6fd4 (patch) | |
| tree | 9c98f8ba15f242b317b4df27fc932e3dd61604ce /man3 | |
| parent | 2b15f8c59e2b49eaa018aad00b680178536238e5 (diff) | |
| download | man-pages-0dfa5792bcfa503855522b30eedadbbe791e6fd4.tar.gz | |
abort.3: SYNOPSIS: Use 'noreturn' in prototypes
POSIX specifies that abort() shall not return.
Glibc uses __attribute__((__noreturn__)).
Let's use standard C11 'noreturn' in the manual page.
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3')
| -rw-r--r-- | man3/abort.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/man3/abort.3 b/man3/abort.3 index 71d555841b..b33d23ad13 100644 --- a/man3/abort.3 +++ b/man3/abort.3 @@ -38,7 +38,7 @@ abort \- cause abnormal process termination .nf .B #include <stdlib.h> .PP -.B void abort(void); +.B noreturn void abort(void); .fi .SH DESCRIPTION The |
