]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
signal.7: Better description for SIGFPE
authorVincent Lefevre <vincent@vinc17.net>
Tue, 24 Sep 2024 11:54:46 +0000 (13:54 +0200)
committerAlejandro Colomar <alx@kernel.org>
Fri, 1 Nov 2024 12:43:40 +0000 (13:43 +0100)
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

index 7a9e91cc7154076e50debc847b88aa6546e5e92e..d19f171b38d7c4453bca95caf94d4647ba20a21b 100644 (file)
@@ -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