From patchwork Thu Feb 18 21:23:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1441895 Return-Path: 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=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) 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=ruucl08g; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4DhSR701mlz9sSC for ; Fri, 19 Feb 2021 08:25:06 +1100 (AEDT) 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 ; 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 ; 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" 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 --- 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 .PP -.B void abort(void); +.B noreturn void abort(void); .fi .SH DESCRIPTION The From patchwork Thu Feb 18 21:23:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1441896 Return-Path: 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=) 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 ; 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 ; 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 ; 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" 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 --- man2/_exit.2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 .PP -.BI "void _exit(int " status ); +.BI "noreturn void _exit(int " status ); .PP .B #include .PP -.BI "void _Exit(int " status ); +.BI "noreturn void _Exit(int " status ); .fi .PP .RS -4 From patchwork Thu Feb 18 21:23:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1441897 Return-Path: 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=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) 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=AWIVZy7N; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4DhSRJ39Tcz9sCD for ; Fri, 19 Feb 2021 08:25:16 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9A0903950C08; Thu, 18 Feb 2021 21:25:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A0903950C08 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1613683502; bh=udyjExnjlL3BbxoZCKLjAe8BPpzwi6BGCjr+BVgNHT8=; 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=AWIVZy7N51Vw582WJqb42P7aqEhcY1ZhBGLPLKAEl0DP6ofwalQ2Bp+rU+PDMxa7b H1zRxA+oOOF5Vd2n0AaBtmT67/C4axT6EBEdqfQL1E095QTNtAcFHd7Ud/94gN7DGk rSuzgULvjIFpIpsi+hJU/0jKYSJo5bcRmAGVBAYU= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id E3283389683D for ; Thu, 18 Feb 2021 21:24:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E3283389683D Received: by mail-wr1-x436.google.com with SMTP id g6so4490473wrs.11 for ; 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=udyjExnjlL3BbxoZCKLjAe8BPpzwi6BGCjr+BVgNHT8=; b=toRqAQ4hdF/yH0A1qt1N7zSER+B39giQa1y2sNnLEbapSKMETnuB6y37IQ30O3FnvA y8QcSBJ/DgHxwzBam5jMdJIoh2TlrdVKzoajOfpGNQKkhtXwRTZSKcibDmJGlUyq57kI QQUDnnNfq0s9/DibiyME1D8SXqct7faAyMepHbUiO++2e4ltvlaCJg5DcrcxWBcB9Fdy T6eXL7zUbg3sI6dvp/WkAqGKVvnB0zQLgQ08kTTjyIbb0rBq7c6wB8xmpJPjQmJV76gx FPKTge2ag7NGiF4/KG2igagO4piRE1JhQXGicev+6Vd1Xi8LnS2aJM+Sl17Lh/nSGuWH QYIA== X-Gm-Message-State: AOAM532+Veuh+Q+YHweKoeNNMWs4m64Tj2nqYiuSVF8GI+DMZjmrXi7M ATgLlF/fm3LoW3/68SZjRmk= X-Google-Smtp-Source: ABdhPJxX0wr7zHMF6KXr3QDXlwyAQh5Y1UEu1IbHNo7qgsmECZOxRPVwRMnlfUgi8c4GAOB8QSuX4w== X-Received: by 2002:adf:9c8a:: with SMTP id d10mr6211492wre.266.1613683499076; Thu, 18 Feb 2021 13:24:59 -0800 (PST) Received: from localhost.localdomain ([170.253.51.130]) by smtp.googlemail.com with ESMTPSA id s11sm7870940wme.22.2021.02.18.13.24.58 (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 3/6] err.3: SYNOPSIS: Use 'noreturn' in prototypes Date: Thu, 18 Feb 2021 22:23:56 +0100 Message-Id: <20210218212358.246072-4-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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Glibc uses __attribute__((__noreturn__)) for [v]err[x](). These functions never return. Let's use standard C11 'noreturn' in the manual page. Signed-off-by: Alejandro Colomar --- man3/err.3 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/man3/err.3 b/man3/err.3 index 128afde6a..a4d4eb620 100644 --- a/man3/err.3 +++ b/man3/err.3 @@ -43,16 +43,16 @@ err, verr, errx, verrx, warn, vwarn, warnx, vwarnx \- formatted error messages .nf .B #include .PP -.BI "void err(int " eval ", const char *" fmt ", ...);" -.BI "void errx(int " eval ", const char *" fmt ", ...);" +.BI "noreturn void err(int " eval ", const char *" fmt ", ...);" +.BI "noreturn void errx(int " eval ", const char *" fmt ", ...);" .PP .BI "void warn(const char *" fmt ", ...);" .BI "void warnx(const char *" fmt ", ...);" .PP .B #include .PP -.BI "void verr(int " eval ", const char *" fmt ", va_list " args ); -.BI "void verrx(int " eval ", const char *" fmt ", va_list " args ); +.BI "noreturn void verr(int " eval ", const char *" fmt ", va_list " args ); +.BI "noreturn void verrx(int " eval ", const char *" fmt ", va_list " args ); .PP .BI "void vwarn(const char *" fmt ", va_list " args ); .BI "void vwarnx(const char *" fmt ", va_list " args ); From patchwork Thu Feb 18 21:23:57 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1441898 Return-Path: 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=) 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=gwDW2XO2; 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 4DhSRN2SKSz9sSC for ; Fri, 19 Feb 2021 08:25:20 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 315303951C65; Thu, 18 Feb 2021 21:25:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 315303951C65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1613683503; bh=BVFUHN0gLvvk3Ff9UduPeKJz8vLqyXCvPRAU9Snpcyg=; 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=gwDW2XO2BTD7LtWxv9VqsMQ/6VUJaF/67isUG6I51Fc7jPkZSYxH1UU9XPglISgPR vxf5wRSulOVw6vZz9IWAqIe2q1Ts1Qzi0Maqft+otx5iDUkAtc7pqkVmzsytyjii+t K7Ak8i+ZjzVb/Tsejw3iAhrAWhuzMvp3hdflz+PA= 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 A848338618B8 for ; Thu, 18 Feb 2021 21:25:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A848338618B8 Received: by mail-wr1-x42a.google.com with SMTP id b3so4522430wrj.5 for ; Thu, 18 Feb 2021 13:25:00 -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=BVFUHN0gLvvk3Ff9UduPeKJz8vLqyXCvPRAU9Snpcyg=; b=GLhhfDPT//QlZbxfjtn4BjIzRGs05AGLuiOSzicNjB3x3w+vUMGjBwkK9AhN2www7g 0iPnAm1SGbikDJD6eQV7NHmTAWT0pviHFIVazrTvTDjPxABasXyzHAjo0Q4aR30GlhQ3 EmCuBHTx392qiexKiPslteA4L9G7tEXO/bf+afvTgKqknUQCaTQ7cLlSFIDWn+VFMIRl o4j/gzba+RnP4t0l56W21akU1pMbZSIFgy961zWFkSEA66cnWVG5q0XnttXToI3Cp2ly 1cI5FckzIiOol9VcilE83LEIATayEwnfFb9nhBxzBmnXaSPHY5nORs4cAvkMoowAjQDk QZeA== X-Gm-Message-State: AOAM531j1FhqVmqFMDndUHr6qbCSILtGdVOzc5lUFUdwT7CZbCWfuX5S g1vpfEmYy/EtX+wOt73B+E+GIP1cll12+Q== X-Google-Smtp-Source: ABdhPJyK201C19q+o6cLCqq782yD1jmwt+2+WNUwEWSJGe3iuZ6dJI1oMPHonMwpz/5FAznGIiD/bg== X-Received: by 2002:adf:a703:: with SMTP id c3mr5916498wrd.379.1613683499811; Thu, 18 Feb 2021 13:24:59 -0800 (PST) Received: from localhost.localdomain ([170.253.51.130]) by smtp.googlemail.com with ESMTPSA id s11sm7870940wme.22.2021.02.18.13.24.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 13:24:59 -0800 (PST) To: mtk.manpages@gmail.com Subject: [PATCH 4/6] exit.3: SYNOPSIS: Use 'noreturn' in prototypes Date: Thu, 18 Feb 2021 22:23:57 +0100 Message-Id: <20210218212358.246072-5-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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" POSIX specifies that exit() shall not return. Glibc uses __attribute__((__noreturn__)). Let's use standard C11 'noreturn' in the manual page. Signed-off-by: Alejandro Colomar --- man3/exit.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/exit.3 b/man3/exit.3 index 50eec7821..3e38a32a6 100644 --- a/man3/exit.3 +++ b/man3/exit.3 @@ -33,7 +33,7 @@ exit \- cause normal process termination .nf .B #include .PP -.BI "void exit(int " status ); +.BI "noreturn void exit(int " status ); .fi .SH DESCRIPTION The From patchwork Thu Feb 18 21:23:58 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1441899 Return-Path: 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=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) 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=KORk+HHW; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4DhSRS1sLpz9sCD for ; Fri, 19 Feb 2021 08:25:24 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C0443395042C; Thu, 18 Feb 2021 21:25:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C0443395042C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1613683503; bh=o7qyi/FJvo6QiFXoxq4Rv75oWdZha7mErr8ndoxkVjU=; 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=KORk+HHWSWO377gvXlu9f+hPC1TtCznD9eq6Yji5ap4D9s1Z37ak0tTrUNm7BhxIF boa/xqARdaWBkOMK52mpVRbpNwEMrRKUsqJn/SD2qnEzUbaOhN6mJbFyvWYXAsI618 21BTc1phfJrpun3KT00wuDEod396gd6w+ylCbSPU= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by sourceware.org (Postfix) with ESMTPS id 54C423896828 for ; Thu, 18 Feb 2021 21:25:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 54C423896828 Received: by mail-wr1-x436.google.com with SMTP id v15so4536838wrx.4 for ; Thu, 18 Feb 2021 13:25:01 -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=o7qyi/FJvo6QiFXoxq4Rv75oWdZha7mErr8ndoxkVjU=; b=aeW+Wu+QNJyrvCgBw6qxaFHOz3o7OQcFNfwiWNmRJM46NO+PXzNXLm71BEp9IPfDWT Qvp3deT8t0aOWu7VRVj3KHime7VgrYZV+5+za83+y+YdPwSfx4yd+t+iYVo20SRM9TNX YPGKzKs8kBMICwWJZBa4w8Y+GBdodTLxE+B8QCflQc67Gslo8rHSYXbOOyu4+bryGiz7 a1WjmJnu7pQspaqbzWVYQWfC8ic0kgAJkF8PD1YkkIDR8nUt98CYDbEibsTF0DzVT203 W0e3VYUr29k2Y8x5Vr5uJ7b0SorXoRfJaucgslorrJtB5tLNjd4lgJreh30zKfgSYTHy Eujg== X-Gm-Message-State: AOAM530JvKn/VjEjXOLp0bIgl3ie1HEkFDKyLWlXQCSh7L0+yQkM3fsw CxuEyG2DzOyohll60Iaj7zI= X-Google-Smtp-Source: ABdhPJww0Dqlef/P4D2LIvxN0c1jk0tNA6rBxe+adhqiCpaApU7k4O52QPhcxm94SoxMaVXWPuJAlA== X-Received: by 2002:adf:b350:: with SMTP id k16mr5998920wrd.190.1613683500552; Thu, 18 Feb 2021 13:25:00 -0800 (PST) Received: from localhost.localdomain ([170.253.51.130]) by smtp.googlemail.com with ESMTPSA id s11sm7870940wme.22.2021.02.18.13.24.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 13:25:00 -0800 (PST) To: mtk.manpages@gmail.com Subject: [PATCH 5/6] pthread_exit.3: SYNOPSIS: Use 'noreturn' in prototypes Date: Thu, 18 Feb 2021 22:23:58 +0100 Message-Id: <20210218212358.246072-6-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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" POSIX specifies that pthread_exit() shall not return. Glibc uses __attribute__((__noreturn__)). Let's use standard C11 'noreturn' in the manual page. Signed-off-by: Alejandro Colomar --- man3/pthread_exit.3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man3/pthread_exit.3 b/man3/pthread_exit.3 index 60879f07c..de9f9abcf 100644 --- a/man3/pthread_exit.3 +++ b/man3/pthread_exit.3 @@ -30,7 +30,7 @@ pthread_exit \- terminate calling thread .nf .B #include .PP -.BI "void pthread_exit(void *" retval ); +.BI "noreturn void pthread_exit(void *" retval ); .PP Compile and link with \fI\-pthread\fP. .fi From patchwork Thu Feb 18 21:23:59 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 1441900 Return-Path: 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=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) 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=vwiJlOl5; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4DhSRX3ln1z9sSC for ; Fri, 19 Feb 2021 08:25:28 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 531353953421; Thu, 18 Feb 2021 21:25:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 531353953421 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1613683506; bh=zHlbUyw1Y9Rv/V24gqLlUxIa7TGXvo+OPF00LD1mCSk=; 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=vwiJlOl5Bz75ooj7FP+izwwFFTW3N7jMbUsSdwizi4oUZOT7ha+fpySPJfq5VzFWu z6VmlFEW819yY3tLBZIGykSEdYipvNFX3dXZb1xsVgkYHi7DgPHoJU9G4xujORqC/Y z6eWVZN54hY28cBsE8x0mz9agFmVWYDcYGpxY9k0= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by sourceware.org (Postfix) with ESMTPS id 29C4D395042C for ; Thu, 18 Feb 2021 21:25:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 29C4D395042C Received: by mail-wr1-x42f.google.com with SMTP id r21so4499597wrr.9 for ; Thu, 18 Feb 2021 13:25:02 -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=zHlbUyw1Y9Rv/V24gqLlUxIa7TGXvo+OPF00LD1mCSk=; b=TS2TP6tgFcLLR3cZ6lYfAOedtEU8NYXq0yxDGqVqxEsSiS+VQUS7UuOo6bv7T/NP4h prMWJZ+guoDS9ETrLe+m282zNkCPD1ymmaU59PjOO+iNXrM05VCl+wNnmrYxR9Iqknvq BPGlGDyjv7Qaml8cfaZNtW8+Opaswu/bAOy/L40EYk+6zcq2zjDJGQxPr2Rwd0eoPIK8 ZjG0gj9h9f776L/HGCLlMYjsQvL4j6bNuDxyoLulOvSCqlctyRNFrDND1rMFLTCnbsfv XlKLDHxodgpD5zkNz2Um1Gh9lY/h2DiYXfy5k2XZ0Wsfn8PE3ojW1Qa6ie989SO5/nJI YjmA== X-Gm-Message-State: AOAM531WMMN8nfSa1GqxQR8Za8Gfx0s2Az+qdNtYHde2gimHya1IUbpL 4LvrEiGp4bCZ1ix2NPjbXb8= X-Google-Smtp-Source: ABdhPJwMhF/qf+z5n6tprOE3eEg9W09/+Dr9WA5Zjy0WMjFTosPB0fiKwlSsxQXSJFo3K4wmtosZAw== X-Received: by 2002:adf:f2c1:: with SMTP id d1mr6166298wrp.345.1613683501318; Thu, 18 Feb 2021 13:25:01 -0800 (PST) Received: from localhost.localdomain ([170.253.51.130]) by smtp.googlemail.com with ESMTPSA id s11sm7870940wme.22.2021.02.18.13.25.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 13:25:01 -0800 (PST) To: mtk.manpages@gmail.com Subject: [PATCH 6/6] setjmp.3: SYNOPSIS: Use 'noreturn' in prototypes Date: Thu, 18 Feb 2021 22:23:59 +0100 Message-Id: <20210218212358.246072-7-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 X-Spam-Status: No, score=-12.3 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alejandro Colomar via Libc-alpha From: Alejandro Colomar Reply-To: Alejandro Colomar Cc: Alejandro Colomar , linux-man@vger.kernel.org, libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" POSIX specifies that [sig]longjmp() shall not return, transferring control back to the caller of [sig]setjmp(). Glibc uses __attribute__((__noreturn__)) for [sig]longjmp(). Let's use standard C11 'noreturn' in the manual page. Signed-off-by: Alejandro Colomar --- man3/setjmp.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man3/setjmp.3 b/man3/setjmp.3 index 7c52f4bea..d9b011b46 100644 --- a/man3/setjmp.3 +++ b/man3/setjmp.3 @@ -31,8 +31,8 @@ setjmp, sigsetjmp, longjmp, siglongjmp \- performing a nonlocal goto .BI "int setjmp(jmp_buf " env ); .BI "int sigsetjmp(sigjmp_buf " env ", int " savesigs ); .PP -.BI "void longjmp(jmp_buf " env ", int " val ); -.BI "void siglongjmp(sigjmp_buf " env ", int " val ); +.BI "noreturn void longjmp(jmp_buf " env ", int " val ); +.BI "noreturn void siglongjmp(sigjmp_buf " env ", int " val ); .fi .PP .RS -4