Message ID | 20210218212358.246072-3-alx.manpages@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=siivw2by; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DhSRC5Mfsz9sCD for <incoming@patchwork.ozlabs.org>; Fri, 19 Feb 2021 08:25:11 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0CA2C394EC04; Thu, 18 Feb 2021 21:25:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0CA2C394EC04 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1613683502; bh=+zwNaDNUObWnTmEkHDpKuTrqdWRGtLXCKVi79IDWKoA=; 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=siivw2bytBA4FSmQTUWdfK40VJPKv78AO1+FdCWWkOXVgvzN5d2DtSrUdyknwuv5C KL957OXbvQEluqGnYICyCV/sYUbqiWxKg80W47uuYXznxhx+j/rp5redzxjfoc6s4n VMinz0+MiGKXJsGRzm3DxvGvtfg4CGUgk2Tq5XGg= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id 14626385803D for <libc-alpha@sourceware.org>; Thu, 18 Feb 2021 21:24:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 14626385803D Received: by mail-wm1-x32e.google.com with SMTP id i7so3484456wmb.0 for <libc-alpha@sourceware.org>; Thu, 18 Feb 2021 13:24:59 -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=+zwNaDNUObWnTmEkHDpKuTrqdWRGtLXCKVi79IDWKoA=; b=Mk97gO/bbcHQpde56xOW9+KfbmsRf456HgJ46i0Xigt1WhH+cDh7zw9kFZY6hQhXLi KPOqTxnv9SJKAyx/YDjw+jND90vNAOzDHGi8JXbjNPI8/WeGlSFklrm6jjWQqj0/AAh7 6qhsspV2i9tdjf15Vv8bL11U+F163WTX2Z7MC50NpEI1fuIpTB2uXLz/M3c+nMOCJDU8 /FkKsWTDZJcuXvJ0y480S9gmkHqur01moRFuTLOk87xg789iryjuZ65meM2S0rgfDceg jxH9PjD66SLFAlDun9h77MXhSJt5hqfLZ6JR01q/eSkxrp4Qu53guAQV2tYhsO+6M6ks URZg== X-Gm-Message-State: AOAM533PEngdw5/1rb1ot7/nAHDF+dsgkM1W0eo1uZbiB3bI7J69tyXP dxQO1B18Iet6/xSAMJWfYUjU3vgMQwkrug== X-Google-Smtp-Source: ABdhPJwI8Kfo9IrDdIXRVTAtICsoH1hlgMxOgKsyJRQS3ojjfRIClCOAuyZvrKBQ7+Q74JYm4wLPoQ== X-Received: by 2002:a1c:3b06:: with SMTP id i6mr5208207wma.141.1613683498284; Thu, 18 Feb 2021 13:24:58 -0800 (PST) Received: from localhost.localdomain ([170.253.51.130]) by smtp.googlemail.com with ESMTPSA id s11sm7870940wme.22.2021.02.18.13.24.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 13:24:58 -0800 (PST) To: mtk.manpages@gmail.com Subject: [PATCH 2/6] _exit.2: SYNOPSIS: Use 'noreturn' in prototypes Date: Thu, 18 Feb 2021 22:23:55 +0100 Message-Id: <20210218212358.246072-3-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.
|
expand
|
diff --git a/man2/_exit.2 b/man2/_exit.2 index fe43f47ce..6e8e77a84 100644 --- a/man2/_exit.2 +++ b/man2/_exit.2 @@ -33,11 +33,11 @@ _exit, _Exit \- terminate the calling process .nf .B #include <unistd.h> .PP -.BI "void _exit(int " status ); +.BI "noreturn void _exit(int " status ); .PP .B #include <stdlib.h> .PP -.BI "void _Exit(int " status ); +.BI "noreturn void _Exit(int " status ); .fi .PP .RS -4
POSIX specifies that _exit() and _Exit() 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> --- man2/_exit.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)