Message ID | 20210218212358.246072-2-alx.manpages@gmail.com |
---|---|
State | Not applicable |
Headers |
Return-Path: <libc-alpha-bounces@sourceware.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7B42A385803D; Thu, 18 Feb 2021 21:25:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B42A385803D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1613683500; bh=th0eEfcJ3ZFUsfRO4XdxHkxvC/wTJjx9ssSjyAkEER4=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ruucl08gVF8b0jquvowt1FvLYT+NXbNsBBDKCndL0Qzdmz++kHsK2Hyhy/vF1fq6b ubOjThfp+9WIxkmzOSqjNG1Z3hBk/S5j2QtuZk3v0s3v5IyJNcKF3YI0yi1mSR5Iz+ KtDH0lsbIaRtHHyUDjJjzD1XNYSymvX1gpZkVhtE= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id 5A48E38618B8 for <libc-alpha@sourceware.org>; Thu, 18 Feb 2021 21:24:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5A48E38618B8 Received: by mail-wr1-x42a.google.com with SMTP id 7so4555565wrz.0 for <libc-alpha@sourceware.org>; Thu, 18 Feb 2021 13:24:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=th0eEfcJ3ZFUsfRO4XdxHkxvC/wTJjx9ssSjyAkEER4=; b=iIUDauLRNvsa721N7VjeHuPJsssYxoK4UVgWEjcpRTuwzKn0oYBDGFxBBcsXp1PKxG 7PuqVSqjn7SSvwToB7+WtOtXsnDUpf0+NugHniQSpxehQCXXcX2slQuFF2+qTrx6ABD7 uE/jLmmceeCf7Q8dvqsvqTq4x6n3d+1ns6KDZcA9tPCODl5VHUyTqIUMhgcHoarbVeFY ubmLQ/4fGXHUVQAw0EGh3gb/Qia4BPKcCRLXwJsU2MGdaza/u9vxW1NJInSgLRJrOrn0 PGdaLAbUY9Zen1UlV5PQhq91e9qsfICgjpN1R+f2u9LVAaW81PB+X6ABVMQdR52dp2Y/ Ph0w== X-Gm-Message-State: AOAM532zl5HFK4s+ttcomHbidEBsfJkR4PMUHxNGhS4hAyBX7kM3aUM5 AfjVRYIwwHopuxRZT+qS2m0= X-Google-Smtp-Source: ABdhPJy7JOPrE0/syiE9XRL9CRS4qkBhDKGzFshQdq2RxfWeHG6Yyq6BDV20GRT+dU12qZII+/SqeQ== X-Received: by 2002:a5d:6403:: with SMTP id z3mr3211799wru.391.1613683497582; Thu, 18 Feb 2021 13:24:57 -0800 (PST) Received: from localhost.localdomain ([170.253.51.130]) by smtp.googlemail.com with ESMTPSA id s11sm7870940wme.22.2021.02.18.13.24.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 13:24:57 -0800 (PST) To: mtk.manpages@gmail.com Subject: [PATCH 1/6] abort.3: SYNOPSIS: Use 'noreturn' in prototypes Date: Thu, 18 Feb 2021 22:23:54 +0100 Message-Id: <20210218212358.246072-2-alx.manpages@gmail.com> X-Mailer: git-send-email 2.30.1.721.g45526154a5 In-Reply-To: <20210218212358.246072-1-alx.manpages@gmail.com> References: <20210218212358.246072-1-alx.manpages@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> From: Alejandro Colomar via Libc-alpha <libc-alpha@sourceware.org> Reply-To: Alejandro Colomar <alx.manpages@gmail.com> Cc: Alejandro Colomar <alx.manpages@gmail.com>, linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" <libc-alpha-bounces@sourceware.org> |
Series |
man[23]: SYNOPSIS: Use 'noreturn' in prototypes.
|
|
Commit Message
Alejandro Colomar
Feb. 18, 2021, 9:23 p.m. UTC
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>
---
man3/abort.3 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi Alex, On 2/18/21 10:23 PM, Alejandro Colomar wrote: > POSIX specifies that abort() shall not return. > Glibc uses __attribute__((__noreturn__)). > Let's use standard C11 'noreturn' in the manual page. C11!? I'm only just getting over C99... But okay, it seems reasonable :-). I applied all of the patches. Cheers, Michael > > Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> > --- > man3/abort.3 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/man3/abort.3 b/man3/abort.3 > index 71d555841..b33d23ad1 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 >
diff --git a/man3/abort.3 b/man3/abort.3 index 71d555841..b33d23ad1 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