From: Vincent Lefevre <vincent@vinc17.net>
To: Michael Kerrisk <mtk.manpages@gmail.com>, linux-man@vger.kernel.org
Cc: Vincent Lefevre <vincent@vinc17.net>
Subject: [PATCH] signal.7: Better description for SIGFPE
Date: Tue, 24 Sep 2024 13:54:46 +0200 [thread overview]
Message-ID: <20240924115547.294466-1-vincent@vinc17.net> (raw)
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:
https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
Note: the GNU C Library manual says "fatal arithmetic error".
https://www.gnu.org/software/libc/manual/html_node/Program-Error-Signals.html
Signed-off-by: Vincent Lefevre <vincent@vinc17.net>
---
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 @@ SIGCHLD P1990 Ign Child stopped or terminated
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.45.2
next reply other threads:[~2024-09-24 11:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-24 11:54 Vincent Lefevre [this message]
2024-09-24 12:02 ` [PATCH] signal.7: Better description for SIGFPE Vincent Lefevre
2024-11-01 12:43 ` Alejandro Colomar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240924115547.294466-1-vincent@vinc17.net \
--to=vincent@vinc17.net \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox