From patchwork Tue Sep 29 10:30:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 40534 Return-Path: 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 4E99A398747B; Tue, 29 Sep 2020 10:31:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E99A398747B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1601375489; bh=I3vlmSbIXqsqmNCnIYtyt+x3ptCVu5eSDZ3y1ok9wX8=; 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=Yx0G9ylOX6C+zFxOYa0Qn/3zKzBQQHeprcIrZoM2Ly+Wt+st11EwO3jjbZcwQj/iM Kg3NILztRySQsAo7tZTUEanTvQ1/6DEtqdL7XVtdTkegZ2owO5u+CFQebNx2wCJ4UU VRISIGHvk5uEf7W32Bsrc+1oGEZbvlJxbTrs9r7I= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by sourceware.org (Postfix) with ESMTPS id 5A160398642D for ; Tue, 29 Sep 2020 10:31:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5A160398642D Received: by mail-wr1-x441.google.com with SMTP id m6so4805541wrn.0 for ; Tue, 29 Sep 2020 03:31:27 -0700 (PDT) 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=I3vlmSbIXqsqmNCnIYtyt+x3ptCVu5eSDZ3y1ok9wX8=; b=CAg01MIi6zjfdhPS1UZPlfeotsl53qKyzGS9RfeG8snkJp2LHN+ocLywiDGQPKj+AF xDt01eH/r0Dhj28P79V5CLszoey8N1UaHbNkkQSQ7WPI+mp6D59MrEKd2uulPrKzmCTj gFOqJabelegBUtoGDe+M20xFdxBtsFe+2qlb6dCF6FZfZl75jC6HYtheRU3RJEjotWqq ipKiqO7f2jVxqhVo7H4i9ivTNnwVAJ928hyZ3k2UQ0we1h5RubAQPFiSFvCOEjdZJD6d GpQ9JeWybK0LONFy2zhdo4/gbo1ldbSPaqgSIgqjGwFYlbrxFLjTNWx327/SfroaG3pF 9JQA== X-Gm-Message-State: AOAM531goC5d6IIq0mR3kgoSRqR8myenGf9qcC2OM5fsDvx5w2NnHkpv YlWBuJEXpIw8sIXSXo7W4j4= X-Google-Smtp-Source: ABdhPJzALObKvIyIpOMCiT84uJqT5+AQR1/cWDBcRnxOY/3OF0Qolx9zitg0mUZNcZwEnBHFBgb2zQ== X-Received: by 2002:a5d:6886:: with SMTP id h6mr3605142wru.374.1601375486470; Tue, 29 Sep 2020 03:31:26 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id t5sm5611464wrb.21.2020.09.29.03.31.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 03:31:25 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v2 1/8] system_data_types.7: Add 'intmax_t' Date: Tue, 29 Sep 2020 12:30:23 +0200 Message-Id: <20200929103028.56566-2-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929082524.49529-1-colomar.6.4.3@gmail.com> References: <20200929082524.49529-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-9.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, KAM_ASCII_DIVIDERS, 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, colomar.6.4.3@gmail.org, gcc@gcc.gnu.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man7/system_data_types.7 | 56 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index fe6e90afe..e718b3c30 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -343,6 +343,62 @@ Conforming to: C99 and later; POSIX.1-2001 and later. See also: .BR imaxdiv (3) .RE +.\"------------------------------------- intmax_t ---------------------/ +.TP +.I intmax_t +.RS +.br +Include: +.IR . +Alternatively, +.IR . +.PP +A signed integer type +capable of representing any value of any signed integer type +supported by the implementation. +According to the C language standard, it shall be +capable of storing values in the range +.RB [ INTMAX_MIN , +.BR INTMAX_MAX ]. +.PP +The macro +.B INTMAX_C +.\" TODO: Document INT*_C(3) +expands its argument to an integer constant of type +.IR intmax_t . +.PP +The length modifier for +.I intmax_t +for the +.BR printf (3) +and the +.BR scanf (3) +families of functions is +.BR j ; +resulting commonly in +.B %jd +or +.B %ji +for printing +.I intmax_t +values. +.PP +Bugs: +.I intmax_t +is not large enough to represent values of type +.I __int128 +in implementations where +.I __int128 +is defined and +.I long long +is less than 128 bits wide. +.PP +Conforming to: C99 and later; POSIX.1-2001 and later. +.PP +See also the +.I uintmax_t +type in this page. +.RE .\"------------------------------------- lconv ------------------------/ .TP .I lconv From patchwork Tue Sep 29 10:30:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 40535 Return-Path: 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 8E04939874BF; Tue, 29 Sep 2020 10:31:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8E04939874BF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1601375493; bh=Ze1EQU7rz+6V04YbtGDiq+H0ZLqPaiEHjn9Y7yqZRdE=; 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=tQZPGcatOS49og7rQPLAQOh6UcQOEiyB5h8pRfeVt0osRTbykak0AtGV98f7D5ky5 u+Zae1M78NIIe0wv0NTm63qPWUUPc50raVAl4FsMXJyg/97Q1DJ5qAG0wT4aDvTe1Z ukEeChaAvmzFqXhjwNmBUlCXeBhtpBcpB+bOuj1A= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by sourceware.org (Postfix) with ESMTPS id CCA8D3987468 for ; Tue, 29 Sep 2020 10:31:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CCA8D3987468 Received: by mail-wr1-x444.google.com with SMTP id e16so4799883wrm.2 for ; Tue, 29 Sep 2020 03:31:28 -0700 (PDT) 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=Ze1EQU7rz+6V04YbtGDiq+H0ZLqPaiEHjn9Y7yqZRdE=; b=n1vqPaqCA5lp+Gc6lRYVDmHLatuaZqgPdTgpLdSqn92mcEeON7IVM9Pg+GvK2tAaDy WOFFQ34Zo4TzNjswDvVutO/u+vfzLeQiQ4i+E+osUc1TS/zdnrtikQzY/ist7sDFeQel kQ/73huvYzbmotGRsXZFuEoH8WBARS6mlXzZ8mVNcGJWLcMWOQRiVuxLP5eb17nZ1Uh2 Fa+8tKHcXzp2SeBPxJd3pjGbyrx8LNK/IOcZE2aFS3EGKmexmeT0lW12OL2BY6qkwFsx VHMIhcxfdrfGUyH5vNgq+s7bf5wb5WeQnDoxcirG7XJADCdqPzN9KpnlIpK1Gu0G/4de /Bvg== X-Gm-Message-State: AOAM530LHw53Bt3+1NlI8t9rtk3/lQ2/GfyUnqHtCFAINvVzu3949g4X XkoXbU9S0agYE7SX7tiVfcE= X-Google-Smtp-Source: ABdhPJz+lMYn0gv7R+5NP0FWeYMfO5WC+n0nZIbT1oneFToYBPD4hPNY0tN9WSSNRPb6yLjjzlSj/w== X-Received: by 2002:adf:aadb:: with SMTP id i27mr3441695wrc.258.1601375487680; Tue, 29 Sep 2020 03:31:27 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id t5sm5611464wrb.21.2020.09.29.03.31.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 03:31:27 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v2 2/8] intmax_t.3: New link to system_data_types(7) Date: Tue, 29 Sep 2020 12:30:24 +0200 Message-Id: <20200929103028.56566-3-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929082524.49529-1-colomar.6.4.3@gmail.com> References: <20200929082524.49529-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-11.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=unavailable 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, colomar.6.4.3@gmail.org, gcc@gcc.gnu.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man3/intmax_t.3 | 1 + 1 file changed, 1 insertion(+) create mode 100644 man3/intmax_t.3 diff --git a/man3/intmax_t.3 b/man3/intmax_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/intmax_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 From patchwork Tue Sep 29 10:30:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 40536 Return-Path: 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 EDBFF39874D3; Tue, 29 Sep 2020 10:31:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EDBFF39874D3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1601375495; bh=LeZ7IaJkTPLvjw3p7a3pNNkRqNrrvDostLnloiu7KTs=; 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=HkSJ8XuZIZ38skaP7kzDGHOlDZlQRDJpqlR8kr8AkIVpZodupyqRMbKh9UEM6UApU yzuNsd3c6s9oyxLLPxIRxqXun4AYZt9eJTto4bLYYEELv6p2t003UzFq0NH/OmzCi1 of67/kl2HNaHtthiS5MgL3nQ4WUJ8u3yKO16VuhE= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by sourceware.org (Postfix) with ESMTPS id 3680F3987492 for ; Tue, 29 Sep 2020 10:31:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3680F3987492 Received: by mail-wm1-x342.google.com with SMTP id e17so4090181wme.0 for ; Tue, 29 Sep 2020 03:31:30 -0700 (PDT) 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=LeZ7IaJkTPLvjw3p7a3pNNkRqNrrvDostLnloiu7KTs=; b=VEbwcXDOUkyLOBGD03QnEZBVDAFH3Q0TEjePHoPgJNHUje/l5ru2B+9QV4yY/ZjAbJ 5yg5gvIGoin7OPyqPma29Ie9ReFLZhgDtbvJXEGgTFB/VFgRz4byxXMyZTJIf4KVxVL+ tt53VCAT2q968bBDFRDFnAtAoJv0D+bxEUPcSeF7WHm4qRAypO+YnpgJBof+PLXwfENF zAVPp1jtRNiSNdX9zmGEHntZW2RbOWBKTL2sLyw/MzNrjg9q7DZM0v9IIbQMmSEFo3O+ j4liY71XyzsHWLViobSA4d6NvbVUgSoovptyTgcXwp9vG7Qq2nSLU8hzH3p+gaGJSous XEew== X-Gm-Message-State: AOAM533/AjR7gEavAk7ipHT9DoWahwcbILyA1Y2H3qRphRKiR5Aurr3W 6xohU1sXL7m4979mq1qLUKs= X-Google-Smtp-Source: ABdhPJx9qFaJ1ePWnTIo4sRlG2dgtD75V1yEHX3FakPnn3mtAwCjG4A7gKaUW4Ni39VpUDfHd+dTjg== X-Received: by 2002:a05:600c:2312:: with SMTP id 18mr3685351wmo.141.1601375489155; Tue, 29 Sep 2020 03:31:29 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id t5sm5611464wrb.21.2020.09.29.03.31.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 03:31:28 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v2 3/8] system_data_types.7: Add 'uintmax_t' Date: Tue, 29 Sep 2020 12:30:25 +0200 Message-Id: <20200929103028.56566-4-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929082524.49529-1-colomar.6.4.3@gmail.com> References: <20200929082524.49529-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-10.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=unavailable 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, colomar.6.4.3@gmail.org, gcc@gcc.gnu.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man7/system_data_types.7 | 55 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index e718b3c30..2e7aca7d2 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -1136,6 +1136,61 @@ See also: .BR getpwnam (2), .BR credentials (7) .RE +.\"------------------------------------- uintmax_t --------------------/ +.TP +.I uintmax_t +.RS +.br +Include: +.IR . +Alternatively, +.IR . +.PP +An unsigned integer type +capable of representing any value of any unsigned integer type +supported by the implementation. +According to the C language standard, it shall be +capable of storing values in the range [0, +.BR UINTMAX_MAX ]. +.PP +The macro +.B UINTMAX_C +.\" TODO: Document UINT*_C(3) +expands its argument to an integer constant of type +.IR uintmax_t . +.PP +The length modifier for +.I uintmax_t +for the +.BR printf (3) +and the +.BR scanf (3) +families of functions is +.BR j ; +resulting commonly in +.B %ju +or +.B %jx +for printing +.I uintmax_t +values. +.PP +Bugs: +.I uintmax_t +is not large enough to represent values of type +.I unsigned __int128 +in implementations where +.I unsigned __int128 +is defined and +.I unsigned long long +is less than 128 bits wide. +.PP +Conforming to: C99 and later; POSIX.1-2001 and later. +.PP +See also the +.I intmax_t +type in this page. +.RE .\"------------------------------------- va_list ----------------------/ .TP .I va_list From patchwork Tue Sep 29 10:30:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 40537 Return-Path: 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 991CD39874D4; Tue, 29 Sep 2020 10:31:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 991CD39874D4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1601375496; bh=LNyJVB9pXtXpFAgurfHMzzh9Ktv4N+KueNZX8jOpqLw=; 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=Ayjn9vcIkg3DkA37OckiAX4lVM5rNJAuBy9DJsKfwk+GrU8PUF9BbdajdBDqKvxWs +1JihPik0oTqLSQpa+TO1RlH0FbYmNohf8hX2MBn62DDvjsziexqpmi0948CZ5+4YG qLkrQU/sHjJ2XO5G2euUt3ciuK1qZUGGTGbbZZ+I= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by sourceware.org (Postfix) with ESMTPS id 67B3A39874A8 for ; Tue, 29 Sep 2020 10:31:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 67B3A39874A8 Received: by mail-wr1-x435.google.com with SMTP id e16so4800034wrm.2 for ; Tue, 29 Sep 2020 03:31:31 -0700 (PDT) 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=LNyJVB9pXtXpFAgurfHMzzh9Ktv4N+KueNZX8jOpqLw=; b=ucx458YipPa/jouLZR/kIikEBqKXABgfnXKVzLq7BSdl2hPGC0fnLySSQdmoXoXq2F ny2v95YEfpUkebIKyQlbTSDLvefwvHRd24P1dbnC4wpjNJ5FMtnum184j9SwRe473EQh Mi6V6xwJzYi5IqHqFQAM8GluIBWnxSvUjTeskVqQZTCootGjsLaNBlAYrv2GjdnymVSM MDBOAhtDGUHsQiGoB9ipVvopU+W/dbi/ZMw3uXBbwdsZr0umqZva2wHSK7m9oaMiQsvQ 9/mfbxnFPtFRp81Wy0fhtfvxIULXd/7bw1i3ujAIzzLwOe+zuPnUHo1Z9/j+0quqLe4t yQxg== X-Gm-Message-State: AOAM531eOzO7U1fIftq5vlglb6geaSkfpWhg6bkytVPlxzihpSUrkUB9 n8zRA/b+NMz29iMnjm9YBeE= X-Google-Smtp-Source: ABdhPJz9a4qXTVy+DAiR833XJrFFjM0AKXhzsAUgWR/Q/M2AzUTRiVXFKVf9SKuKQjxz67mRfuF/OA== X-Received: by 2002:a5d:6691:: with SMTP id l17mr3612474wru.10.1601375490564; Tue, 29 Sep 2020 03:31:30 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id t5sm5611464wrb.21.2020.09.29.03.31.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 03:31:29 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v2 4/8] uintmax_t.3: New link to system_data_types(7) Date: Tue, 29 Sep 2020 12:30:26 +0200 Message-Id: <20200929103028.56566-5-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929082524.49529-1-colomar.6.4.3@gmail.com> References: <20200929082524.49529-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=3.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, UNWANTED_LANGUAGE_BODY autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Level: *** 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, colomar.6.4.3@gmail.org, gcc@gcc.gnu.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man3/uintmax_t.3 | 1 + 1 file changed, 1 insertion(+) create mode 100644 man3/uintmax_t.3 diff --git a/man3/uintmax_t.3 b/man3/uintmax_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/uintmax_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 From patchwork Tue Sep 29 10:30:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 40538 Return-Path: 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 F404B39874E5; Tue, 29 Sep 2020 10:31:37 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F404B39874E5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1601375498; bh=j3AY/310GuNzvpwEATi3xSLuNwE+Fdu1EOfyXt7c5h4=; 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=H9gf+R0wQlRyN/wccnkz0PB6I41PIz723MvlzWhTNtRo2GiCIQNmHFJKkjv6KRX86 Y0byaq1v3G3IuSFKaHLJHE75BKRQJAQq/k7IwJhJkoZbyDFgzm3iY9qK5cWx6i5vrP ykjEzKFR8ySrODmwgBGkHliChBLCssECQdE75pHE= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by sourceware.org (Postfix) with ESMTPS id E779D39874AE for ; Tue, 29 Sep 2020 10:31:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E779D39874AE Received: by mail-wm1-x344.google.com with SMTP id y15so4250497wmi.0 for ; Tue, 29 Sep 2020 03:31:32 -0700 (PDT) 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=j3AY/310GuNzvpwEATi3xSLuNwE+Fdu1EOfyXt7c5h4=; b=QphNaT1G70qRQhlkXNUA6pbY6J6jLUL5QcT+yHzxFvtBbhOsw3Fxku9FLfk57SgzrP duyicWwJTPOhxUy0Qb4HJwKjbG5VDYriNqR1bcPUN3UEGf5q7V2GgMvQXrjtCEDVtPhZ KVVLPC9GN9lvh4olcX0SzCRv6/pqIm2TxdXP9AVRf+ofsQWK0J1SfgbsuWKOmECcqrPb DlyGM4fVm1oXaZ6VX8PjkGDQs924MncRi4VP8cV9rO8poV/sWzX5zgl4cDsV3KAxmQ8Q QlYvtdYCJaNVppo1cI6+bPHwslpTjBy43qvCV67OMH/65mcWcIc8vJfYx9+wEsRoM2fZ K0Zw== X-Gm-Message-State: AOAM531Ea6vd1laiQ2UCSbXrsyR0KVSP+6eVJCoe3fLSF6KesHzzK6I2 Zm8x2d+SjrLMvWEHoWGPTHg= X-Google-Smtp-Source: ABdhPJwDW/cnsrI8c6bd3DT1QMjWgn/WDb0xd3j0ei3gIHWxY5LHk7K9ZVvoxUNDSHdd5hq7pCO/1A== X-Received: by 2002:a1c:28a:: with SMTP id 132mr4024450wmc.144.1601375491845; Tue, 29 Sep 2020 03:31:31 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id t5sm5611464wrb.21.2020.09.29.03.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 03:31:31 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v2 5/8] system_data_types.7: Add intN_t family of types Date: Tue, 29 Sep 2020 12:30:27 +0200 Message-Id: <20200929103028.56566-6-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929082524.49529-1-colomar.6.4.3@gmail.com> References: <20200929082524.49529-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-10.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=unavailable 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, colomar.6.4.3@gmail.org, gcc@gcc.gnu.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man7/system_data_types.7 | 79 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 2e7aca7d2..9b8244649 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -399,6 +399,85 @@ See also the .I uintmax_t type in this page. .RE +.\"------------------------------------- intN_t -----------------------/ +.TP +.IR int N _t +.RS +.br +Include: +.IR . +Alternatively, +.IR . +.PP +.IR int8_t ", " int16_t ", " int32_t ", " int64_t +.PP +A signed integer type +of a fixed width of exactly N bits, +N being the value specified in its type name. +According to the C language standard, they shall be +capable of storing values in the range +.RB [ INT N _MIN , +.BR INT N _MAX ], +substituting N by the appropriate number. +.PP +According to POSIX, +.IR int8_t ", " int16_t +and +.I int32_t +are required; +.I int64_t +is only required in implementations that provide integer types +with width 64; +and all other types of this form are optional. +.PP +The length modifiers for the +.IR int N _t +types for the +.BR printf (3) +family of functions +are expanded by macros of the forms +.BR PRId N +and +.BR PRIi N +(defined in +.IR ); +resulting for example in +.B %"PRId64" +or +.B %"PRIi64" +for printing +.I int64_t +values. +The length modifiers for the +.IR int N _t +types for the +.BR scanf (3) +family of functions +are expanded by macros of the forms +.BR SCNd N +and +.BR SCNi N, +(defined in +.IR ); +resulting for example in +.B %"SCNd8" +or +.B %"SCNi8" +for scanning +.I int8_t +values. +.PP +Conforming to: C99 and later; POSIX.1-2001 and later. +.PP +See also the +.IR __int128 , +.IR intmax_t , +.IR uint N _t , +.I uintmax_t +and +.I unsigned __int128 +types in this page. +.RE .\"------------------------------------- lconv ------------------------/ .TP .I lconv From patchwork Tue Sep 29 10:30:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 40539 Return-Path: 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 821713987502; Tue, 29 Sep 2020 10:31:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 821713987502 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1601375498; bh=BuGrcJDek9H7nIP4gd20YYO/T/Qmr58JF+RO2Z2CIWY=; 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=HMPaJt55qwEDXi29qIhBKxGqaQhMxuSEOh8GbyQyUVTzc5k6CGMZ5VQWuHFBvyWAI rwQm64fJKmoTUA+3cRKXWbhYgvJaW+z79HIy90efvDsOYqpzWI5521DVFy0wiOj/PT GZJSDBxUvi7vmiLCYPsZKFqoG+HhTyjHATOpwr4M= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by sourceware.org (Postfix) with ESMTPS id 1A44139874CF for ; Tue, 29 Sep 2020 10:31:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 1A44139874CF Received: by mail-wr1-x432.google.com with SMTP id t10so4791471wrv.1 for ; Tue, 29 Sep 2020 03:31:34 -0700 (PDT) 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=BuGrcJDek9H7nIP4gd20YYO/T/Qmr58JF+RO2Z2CIWY=; b=GdfFuVZZwUDo/6T+l1bWKNmXlP/MqJeJ4pIK6UD85mgdwRPaPnwR+i1Dd9b8vwe9XV OOHFVcLacPIfUPwHEjqdlKmCHaQ2avjfpH6IrG/ogovoMP0hW+vpqOUMJ2z+/eswM8xp ybWBcGWLlMLeGs4o9tIKV/2ez1y9fROgNzOnMbAgZIEmzxLh4XIj+9iXeMwOuEVKGrAv whhAMMlCfSGhQb1HKTgR3gYoi0d0cFxeYwj6dAc60Snd2RtunxxoyhWVNMP/z+7CUqun oXblKz6TMl/k2v5YxjIKzSegKonqBbBFkF3KPshtVbzlgh27ee+rjoQijy8V9Hj/ZE/B EhMg== X-Gm-Message-State: AOAM533O2shRgnwnGjUWZh1dkeJ995YELuYSVWoWXxsCOLNBLqhuZ0xX fd4P667bKBI6mhmwMBFO0ws= X-Google-Smtp-Source: ABdhPJxpXsB4/DLW3acXGLZP9t1Wo04RrRSeuF1nb52TAkLLs52EJODLW9bHeWya3tXsOgPN9ixk5w== X-Received: by 2002:a5d:68d1:: with SMTP id p17mr3354467wrw.378.1601375493163; Tue, 29 Sep 2020 03:31:33 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id t5sm5611464wrb.21.2020.09.29.03.31.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 03:31:32 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v2 6/8] int8_t.3, int16_t.3, int32_t.3, int64_t.3, intN_t.3: New links to system_data_types(7) Date: Tue, 29 Sep 2020 12:30:28 +0200 Message-Id: <20200929103028.56566-7-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929082524.49529-1-colomar.6.4.3@gmail.com> References: <20200929082524.49529-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, 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, colomar.6.4.3@gmail.org, gcc@gcc.gnu.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man3/int16_t.3 | 1 + man3/int32_t.3 | 1 + man3/int64_t.3 | 1 + man3/int8_t.3 | 1 + man3/intN_t.3 | 1 + 5 files changed, 5 insertions(+) create mode 100644 man3/int16_t.3 create mode 100644 man3/int32_t.3 create mode 100644 man3/int64_t.3 create mode 100644 man3/int8_t.3 create mode 100644 man3/intN_t.3 diff --git a/man3/int16_t.3 b/man3/int16_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/int16_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 diff --git a/man3/int32_t.3 b/man3/int32_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/int32_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 diff --git a/man3/int64_t.3 b/man3/int64_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/int64_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 diff --git a/man3/int8_t.3 b/man3/int8_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/int8_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 diff --git a/man3/intN_t.3 b/man3/intN_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/intN_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 From patchwork Tue Sep 29 10:30:29 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 40540 Return-Path: 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 17F883987514; Tue, 29 Sep 2020 10:31:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 17F883987514 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1601375500; bh=44YDyqjMDZT8Jt75wxSHSoU6KW8MrzLMmFTUVNZEZVI=; 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=ZqIPydXqKBKDQSPrs/wan6142XPELln5vFdBIC6PiNplktti/cZ//OA/sL1V+TAZy u0uMGNJxqiNivf5iJbunduETytrF1nNRt2/tF2JNie0rIqozD+NO/8t5DSlwU1z10v DjLTBUIz+GIq8uALMRd7Z4XiFZbXe+gYVt2yIoMA= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by sourceware.org (Postfix) with ESMTPS id 34DD739874D4 for ; Tue, 29 Sep 2020 10:31:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 34DD739874D4 Received: by mail-wr1-x444.google.com with SMTP id k10so4773878wru.6 for ; Tue, 29 Sep 2020 03:31:35 -0700 (PDT) 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=44YDyqjMDZT8Jt75wxSHSoU6KW8MrzLMmFTUVNZEZVI=; b=lTvi/X+UspKooHFr/3By3zsSAyBVfpraaqgcU48+na50amnIF50GPqs2vpNETchNJ7 GtdFbJQn3DB3C97VmRUfk7MSMfUO0W5Rqgp7ZX7i3jfthFHzTzjiMi14GRUbvjKJ/YAM Iy56X41GwjVVHn4wglzCUZMJYY9x8iWU/FM6ebe+OFigVR58JJYfRoD899jhe+js/6Ga HWQaYJNnDpBd9Ilr/TplAT4c5x6+t79dBZGo7OmpNmo5nFaeajEL4SdtzsuCYh3/Rbb4 aQqNxhYNwbfZj4Tjj88FaWGi0UP98Ouzi2PIH3ifD1QnxHaBkPni+1zxsIhdxkHTM+qC pquw== X-Gm-Message-State: AOAM533iJGlE8WZiUHMG1hlJef5rtByNRwny+XhjO6gSnq0NGg4VcUsd 6rKceTfjJcnullw4x2Tmb6U= X-Google-Smtp-Source: ABdhPJxT9ufeaWz+SUJdncTQGF8Db3v/xGfFpZSrfF9tsq4Ya/qD8SPskqaHVEz0M8q2ct/O6o++bQ== X-Received: by 2002:a5d:6343:: with SMTP id b3mr3686820wrw.179.1601375494305; Tue, 29 Sep 2020 03:31:34 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id t5sm5611464wrb.21.2020.09.29.03.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 03:31:33 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v2 7/8] system_data_types.7: Add uintN_t family of types Date: Tue, 29 Sep 2020 12:30:29 +0200 Message-Id: <20200929103028.56566-8-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929082524.49529-1-colomar.6.4.3@gmail.com> References: <20200929082524.49529-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, GIT_PATCH_0, KAM_ASCII_DIVIDERS, 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, colomar.6.4.3@gmail.org, gcc@gcc.gnu.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man7/system_data_types.7 | 82 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 9b8244649..2f21e6849 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -1270,6 +1270,88 @@ See also the .I intmax_t type in this page. .RE +.\"------------------------------------- uintN_t ----------------------/ +.TP +.IR uint N _t +.RS +.br +Include: +.IR . +Alternatively, +.IR . +.PP +.IR uint8_t ", " uint16_t ", " uint32_t ", " uint64_t +.PP +An unsigned integer type +of a fixed width of exactly N bits, +N being the value specified in its type name. +According to the C language standard, they shall be +capable of storing values in the range [0, +.BR UINT N _MAX ], +substituting N by the appropriate number. +.PP +According to POSIX, +.IR uint8_t ", " uint16_t +and +.I uint32_t +are required; +.I uint64_t +is only required in implementations that provide integer types +with width 64; +and all other types of this form are optional. +.PP +The length modifiers for the +.IR uint N _t +types for the +.BR printf (3) +family of functions +are expanded by macros of the forms +.BR PRIu N, +.BR PRIo N, +.BR PRIx N +and +.BR PRIX N +(defined in +.IR ); +resulting for example in +.B %"PRIu32" +or +.B %"PRIx32" +for printing +.I uint32_t +values. +The length modifiers for the +.IR uint N _t +types for the +.BR scanf (3) +family of functions +are expanded by macros of the forms +.BR SCNu N, +.BR SCNo N, +.BR SCNx N +and +.BR SCNX N +(defined in +.IR ); +resulting for example in +.B %"SCNu16" +or +.B %"SCNx16" +for scanning +.I uint16_t +values. +.PP +Conforming to: C99 and later; POSIX.1-2001 and later. +.PP +See also the +.IR __int128 , +.IR intmax_t , +.IR int N _t , +.I uintmax_t +and +.I unsigned __int128 +types in this page. +.RE .\"------------------------------------- va_list ----------------------/ .TP .I va_list From patchwork Tue Sep 29 10:30:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 40541 Return-Path: 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 75F903987525; Tue, 29 Sep 2020 10:31:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 75F903987525 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1601375501; bh=pLm71/+3rvSYpQ2Dwv83jF0VD3Qx5yqgezJQiIfi7EY=; 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=H0MPClwG0mYwymsNOCHecfsvylDB4kjPP8q2ycNsUFejSEzTu3q/c2YJvnwo6CbzQ QE+qMsLyQDdSs6MSGS1FJoy/Fy20CtZYMIdi2Wxv4XT50A+TMYrP/UdZ6VDgQFvcZM JUjK7J6bs69jFYgNNen5rs6i99u/kbRiV7zkE298= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by sourceware.org (Postfix) with ESMTPS id 858E939874E5 for ; Tue, 29 Sep 2020 10:31:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 858E939874E5 Received: by mail-wm1-x336.google.com with SMTP id t17so1594066wmi.4 for ; Tue, 29 Sep 2020 03:31:36 -0700 (PDT) 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=pLm71/+3rvSYpQ2Dwv83jF0VD3Qx5yqgezJQiIfi7EY=; b=Gnn2PAHLPbQjHXNeWKYcMjdlO/IprLcFz0LxjULjRChEsUe5f1k78dsvkiOgT0ZGIx auAp19fej9GPwVR5z9OwkFJmTV3xSAD9NsQg22w5TFvBCynJHB5oJ1RoeQY7fYTw+1OP Tjf/3I6INL3gZCcrymbwnsT09FgC84u4hs2ECMb6yEfkvrDayhL9F96BmvFp0+vc6Vhj mVtm4rS2e5eGacHk5FZJv0Bb8NC52EV3uew8QG7NNWmy8JITpbcZ9ISXDQT9XCCVzRqc TcF3Auy9odL/JVXKStHnflZxjlIR82NtoynbGW/SMTPu20GEbuYiHabSv37IN/+ut1FC Z5tg== X-Gm-Message-State: AOAM533HQul80tCFfAvi4CEyBUMtMNC5XIIbbkjSqTClyexL+lgdZG2A ti/O6XhzqfcZGCZd+jjiXLQ= X-Google-Smtp-Source: ABdhPJyyhB5+ADJ683+A+xIOOk+rG+NjymQuLPibpVK2g1MjcvMld3QS/4E/ZPEuAchDfe66djtF3w== X-Received: by 2002:a7b:c192:: with SMTP id y18mr3661266wmi.108.1601375495657; Tue, 29 Sep 2020 03:31:35 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id t5sm5611464wrb.21.2020.09.29.03.31.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Sep 2020 03:31:35 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH v2 8/8] uint8_t.3, uint16_t.3, uint32_t.3, uint64_t.3, uintN_t.3: New links to system_data_types(7) Date: Tue, 29 Sep 2020 12:30:30 +0200 Message-Id: <20200929103028.56566-9-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200929082524.49529-1-colomar.6.4.3@gmail.com> References: <20200929082524.49529-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, 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, colomar.6.4.3@gmail.org, gcc@gcc.gnu.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Signed-off-by: Alejandro Colomar --- man3/uint16_t.3 | 1 + man3/uint32_t.3 | 1 + man3/uint64_t.3 | 1 + man3/uint8_t.3 | 1 + man3/uintN_t.3 | 1 + 5 files changed, 5 insertions(+) create mode 100644 man3/uint16_t.3 create mode 100644 man3/uint32_t.3 create mode 100644 man3/uint64_t.3 create mode 100644 man3/uint8_t.3 create mode 100644 man3/uintN_t.3 diff --git a/man3/uint16_t.3 b/man3/uint16_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/uint16_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 diff --git a/man3/uint32_t.3 b/man3/uint32_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/uint32_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 diff --git a/man3/uint64_t.3 b/man3/uint64_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/uint64_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 diff --git a/man3/uint8_t.3 b/man3/uint8_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/uint8_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7 diff --git a/man3/uintN_t.3 b/man3/uintN_t.3 new file mode 100644 index 000000000..db50c0f09 --- /dev/null +++ b/man3/uintN_t.3 @@ -0,0 +1 @@ +.so man7/system_data_types.7