From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from joooj.vinc17.net (joooj.vinc17.net [155.133.131.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2B1C8824AD for ; Tue, 24 Sep 2024 11:59:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=155.133.131.76 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727179153; cv=none; b=dIklSv/j418xGWtTJuQAQ0TaOFB24bxRXpHzQ78QSXlJMWC4Dyji7SCigI65hbA/1aWKHX/XF5FLMPFRICMqDrjzV81Au2F35X5pJC8++XZaz5AQ9grheiBrcnjA/U93TUs18SpughqpxskG0B+Q3w+CnpvdM/fOikAfFG3Mn1U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727179153; c=relaxed/simple; bh=aiKcol2PHrT6qZegIi7434TMk9CJjGKdPDUz+YqM5Dc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hGgpXWLra8OARC5N1n1UqVpyQ0+QSHSYmoURTi7GKjrH2nH0pbY27rGg0IobSFsNJZbw4SDEXHP6D3sFcGrKYkrMaGSNuFp1qeSvd6kEMRqnS/X3OYOn0tSlexcezo7cS2mERyfbfwXLUBO9aHz9ASEWRBXoIA4HnhzGgPtCZ/U= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=vinc17.net; spf=pass smtp.mailfrom=vinc17.net; arc=none smtp.client-ip=155.133.131.76 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=vinc17.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=vinc17.net Received: from smtp-qaa.vinc17.net (2a02-8428-1b1d-4d01-96a9-491d-7b48-ba31.rev.sfr.net [IPv6:2a02:8428:1b1d:4d01:96a9:491d:7b48:ba31]) by joooj.vinc17.net (Postfix) with ESMTPSA id 197554CB; Tue, 24 Sep 2024 13:56:26 +0200 (CEST) Received: by qaa.vinc17.org (Postfix, from userid 1000) id D7EF5CA00F4; Tue, 24 Sep 2024 13:56:25 +0200 (CEST) From: Vincent Lefevre To: Michael Kerrisk , linux-man@vger.kernel.org Cc: Vincent Lefevre Subject: [PATCH] signal.7: Better description for SIGFPE Date: Tue, 24 Sep 2024 13:54:46 +0200 Message-ID: <20240924115547.294466-1-vincent@vinc17.net> X-Mailer: git-send-email 2.45.2 Precedence: bulk X-Mailing-List: linux-man@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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