From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 A1C80398B817 for ; Thu, 1 Oct 2020 14:35:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A1C80398B817 Received: by mail-wm1-x344.google.com with SMTP id k18so3362315wmj.5 for ; Thu, 01 Oct 2020 07:35:57 -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=zTgZMGAa3SqZGmU8slvI+fkVRXIKG2D+3meUIcZMU/s=; b=qLXfEytRK2AnuYVB0MtkBUF5NlO/OO2Pg0xtuMg+DOqItJgW2I6P9pTuYqDV1ROxLh VcbSyyGV827M1+aWEZFqg+//S8r480ifdkIqb48LOYvLdqYqXmrA5/vucnUaMigXFrhE Er2My9yXl1m2i4dF+vKxA3Ezy8D8kWvOQWYLsl86vJD0pe/VvAy7ZKzEZMddFp1bRkNb KgArrgRI/MMPrhCH59ysNx7Zjrxm2JitlxR2EAfKpCB/qdmMHdUBpqkx0fbTuHgurYlH A0LT3WHKdICLd950CICk0nyg48U++JZWtPr881hgiXMzDDnEO4BuRW5wmN46pff8t9B6 fX1Q== X-Gm-Message-State: AOAM5304YB3Sa/5qthjPsowRVvOGXxwG1jfzPkDWtSkt9Nvw8OCtDdQ+ OrsLm7/N/XXRUsRWWjE6aZU= X-Google-Smtp-Source: ABdhPJxHWYxunVFCTOAhl5mWM86QZGT/aJwm8EmN4LHAUu4nka9uvhZe8qFbx0YlIKgNrFlJl47DXw== X-Received: by 2002:a1c:2903:: with SMTP id p3mr336333wmp.170.1601562956795; Thu, 01 Oct 2020 07:35:56 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id p9sm209976wmg.34.2020.10.01.07.35.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2020 07:35:56 -0700 (PDT) From: Alejandro Colomar To: mtk.manpages@gmail.com Cc: Alejandro Colomar , linux-man@vger.kernel.org, gcc@gcc.gnu.org, libc-alpha@sourceware.org Subject: [PATCH v2 3/4] system_data_types.7: Add uint_leastN_t family of types Date: Thu, 1 Oct 2020 16:35:35 +0200 Message-Id: <20201001143535.98990-4-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201001143535.98990-1-colomar.6.4.3@gmail.com> References: <20201001143535.98990-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=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-List-Received-Date: Thu, 01 Oct 2020 14:35:59 -0000 Signed-off-by: Alejandro Colomar --- man7/system_data_types.7 | 75 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 3336de463..e42cf2557 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -1500,6 +1500,81 @@ and .IR uint N _t types in this page. .RE +.\"------------------------------------- uint_leastN_t ----------------/ +.TP +.IR uint_least N _t +.RS +Include: +.IR . +Alternatively, +.IR . +.PP +.IR uint_least8_t , +.IR uint_least16_t , +.IR uint_least32_t , +.I uint_least64_t +.PP +The narrowest unsigned integer type +of a width of at least 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_LEAST N _MAX ], +substituting N by the appropriate number. +.PP +The length modifiers for the +.IR uint_least N _t +types for the +.BR printf (3) +family of functions +are expanded by macros of the forms +.BR PRIuLEST N, +.BR PRIoLEAST N, +.BR PRIxLEAST N +and +.BR PRIXLEAST N +(defined in +.IR ); +resulting for example in +.B %"PRIuLEAST32" +or +.B %"PRIxLEAST32" +for printing +.I uint_least32_t +values. +The length modifiers for the +.IR uint_least N _t +types for the +.BR scanf (3) +family of functions +are expanded by macros of the forms +.BR SCNuLEAST N, +.BR SCNoLEAST N, +.BR SCNxLEAST N +and +.BR SCNXLEAST N +(defined in +.IR ); +resulting for example in +.B %"SCNuLEAST16" +or +.B %"SCNxLEAST16" +for scanning +.I uint_least16_t +values. +.PP +Conforming to: +C99 and later; POSIX.1-2001 and later. +.PP +See also the +.IR int_fast N _t , +.IR int_least N _t , +.IR int N _t , +.IR uint_fast N _t +and +.IR uint N _t +types in this page. +.RE .\"------------------------------------- uintmax_t --------------------/ .TP .I uintmax_t -- 2.28.0