From patchwork Thu Oct 1 10:15:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 40565 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 CAEE13987C3E; Thu, 1 Oct 2020 10:16:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CAEE13987C3E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1601547405; bh=2O7qFHPyjrq2Tn95YL9fKKScMQgJyfgE++5pJKbY1NI=; 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=eMYj2cnJGsq/ruUOGUVj1PDfgzj7bDKaVWHjAc2dPBYhNGrA5gRg+PmqKhNpuLLnC bKdedY4oDTBslnPiOsyKihne8CSUIPIEev8Gjvj17+RLEvlunnnB85ADiLQGwM5nLt krxBT+hkZBiW+p/8yahvTB16YKcFDQjC+rfct+yI= 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 66DA83985427 for ; Thu, 1 Oct 2020 10:16:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 66DA83985427 Received: by mail-wr1-x441.google.com with SMTP id g4so5017111wrs.5 for ; Thu, 01 Oct 2020 03:16:37 -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=2O7qFHPyjrq2Tn95YL9fKKScMQgJyfgE++5pJKbY1NI=; b=pkzVkNKwNWn4NKccMh+H2SsKuZseqWMHRkgmp+r6reBD7KBQEl1+5gjVuIuOz9KYox H6Z1WbTgSyZtZNW/3F/cJSd4vjUwNBmFpHhk8Qtxkb3Virhy2qTP7Cw7wlieDJcSv8JL UXLfc1Rd28bHaOfUlUk05oPuDf9y1j7gcJUi4CFW6ywUBQ2UwAvuFz+P6RkXJ8S5UcBt J+fdTGtJ3lYXt2GYm1snEFkeh4Dqg0Q28gnr1N8eJ776FLOWKtHKQ9BSMNKQop8LzGXj Y4BUrxNhwH7XBf6Ymg6LLsC7oarA0mkLqtbK+lWe9dR6JdyhMcaQ1aw7neNeGqG17ZEv asfg== X-Gm-Message-State: AOAM532uAc8+ils9Z2HED9VRMEPhDO2PvHhTKf+iLOYVlI8rkB+nuuwL u/IT4FsqW7Ph+BV/t3JoPM0= X-Google-Smtp-Source: ABdhPJwYn0gQLGfk7TJreptB7rv3QFP1M1+EPGVms0K3eQkhm74gA14Oikap7Jhr/UqrNLHVLyWFYQ== X-Received: by 2002:a5d:55c8:: with SMTP id i8mr8137442wrw.331.1601547396442; Thu, 01 Oct 2020 03:16:36 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id i15sm8671922wrb.91.2020.10.01.03.16.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2020 03:16:35 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH 07/16] system_data_types.7: Add uint_fastN_t family of types Date: Thu, 1 Oct 2020 12:15:51 +0200 Message-Id: <20201001101559.77163-8-colomar.6.4.3@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201001101559.77163-1-colomar.6.4.3@gmail.com> References: <20201001101559.77163-1-colomar.6.4.3@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-9.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 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: colomar.6.4.3@gmail.com, linux-man@vger.kernel.org, libc-alpha@sourceware.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 07de6417f..e3ebc2270 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -1282,6 +1282,85 @@ See also: .BR getpwnam (2), .BR credentials (7) .RE +.\"------------------------------------- uint_fastN_t -----------------/ +.TP +.IR uint_fast N _t +.RS +Include: +.IR . +Alternatively, +.IR . +.PP +.IR uint_fast8_t , +.IR uint_fast16_t , +.IR uint_fast32_t , +.I uint_fast64_t +.PP +The fastest 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_FAST N _MAX ], +substituting N by the appropriate number. +.PP +The length modifiers for the +.IR uint_fast N _t +types for the +.BR printf (3) +family of functions +are expanded by macros of the forms +.BR PRIuFAST N, +.BR PRIoFAST N, +.BR PRIxFAST N +and +.BR PRIXFAST N +(defined in +.IR ); +resulting for example in +.B %"PRIuFAST32" +or +.B %"PRIxFAST32" +for printing +.I uint_fast32_t +values. +The length modifiers for the +.IR uint_fast N _t +types for the +.BR scanf (3) +family of functions +are expanded by macros of the forms +.BR SCNuFAST N, +.BR SCNoFAST N, +.BR SCNxFAST N +and +.BR SCNXFAST N +(defined in +.IR ); +resulting for example in +.B %"SCNuFAST16" +or +.B %"SCNxFAST16" +for scanning +.I uint_fast16_t +values. +.PP +Conforming to: +C99 and later; POSIX.1-2001 and later. +.PP +Notes: +Some of these types may be optimized for size +instead of raw performance. +.PP +See also the +.IR int_fast N _t , +.IR int_least N _t , +.IR int N _t , +.IR uint_least N _t +and +.IR uint N _t +types in this page. +.RE .\"------------------------------------- uintmax_t --------------------/ .TP .I uintmax_t