[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 1/3] signal.7: Better description for SIGFPE
From: |
Alejandro Colomar |
Subject: |
[PATCH 1/3] signal.7: Better description for SIGFPE |
Date: |
Sun, 3 Nov 2024 00:10:27 +0100 |
From: Vincent Lefevre <vincent@vinc17.net>
SIGFPE has comment "Floating-point exception", which corresponds to
the FPE acronym. But this is misleading as this signal may also be
generated by an integer division by 0.
Change it to "Erroneous arithmetic operation" from POSIX.
Note: the GNU C Library manual says "fatal arithmetic error".
Link: <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html>
Link:
<https://www.gnu.org/software/libc/manual/html_node/Program-Error-Signals.html>
Signed-off-by: Vincent Lefevre <vincent@vinc17.net>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
---
man/man7/signal.7 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man/man7/signal.7 b/man/man7/signal.7
index 7a9e91cc7..d19f171b3 100644
--- a/man/man7/signal.7
+++ b/man/man7/signal.7
@@ -373,7 +373,7 @@ .SS Standard signals
SIGCLD \- Ign A synonym for \fBSIGCHLD\fP
SIGCONT P1990 Cont Continue if stopped
SIGEMT \- Term Emulator trap
-SIGFPE P1990 Core Floating-point exception
+SIGFPE P1990 Core Erroneous arithmetic operation
SIGHUP P1990 Term Hangup detected on controlling terminal
or death of controlling process
SIGILL P1990 Core Illegal Instruction
--
2.39.5
signature.asc
Description: PGP signature
- [PATCH 0/3] Add mansect(1) program and manual page, Alejandro Colomar, 2024/11/02
- [PATCH] CONTRIBUTING.d/patches: Document new features alongside the features, Alejandro Colomar, 2024/11/02
- [PATCH 1/3] signal.7: Better description for SIGFPE,
Alejandro Colomar <=
- [PATCH 2/3] src/bin/mansect, mansect.1: Add program and its manual page, Alejandro Colomar, 2024/11/02
- [PATCH 3/3] scripts/bash_aliases: man_section(), man_lsfunc(), man_lsvar(): Use mansect(1), Alejandro Colomar, 2024/11/02
- [PATCH v2 0/4] Add mansect(1), Alejandro Colomar, 2024/11/02
- [PATCH v2 1/4] src/bin/mansect, mansect.1: Add program and its manual page, Alejandro Colomar, 2024/11/02
- [PATCH v2 2/4] scripts/bash_aliases: man_lsfunc(), man_lsvar(): Use mansect(1), Alejandro Colomar, 2024/11/02
- [PATCH v2 3/4] scripts/bash_aliases: man_lsfunc(), man_lsvar(): Use pcre2grep(1) instead of pcregrep(1), Alejandro Colomar, 2024/11/02
- [PATCH v2 4/4] src/bin/mansect: Preprocess with preconv(1), Alejandro Colomar, 2024/11/02