From patchwork Thu Oct 1 10:15:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 40567 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 37A14398B141; Thu, 1 Oct 2020 10:16:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 37A14398B141 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1601547409; bh=zFGAHQ4tN0qBaxawcSu4iAIimfA+9SaHeUdt25mZxi4=; 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=GGKaTXqP6KoOkNkDLXIRyei5YHV9lWbIAftJLa9WRxn4KJKEYvXeG4W2Zkf1Uryk0 UpnGc8ARqRYlKP6P6ZeE7u8ZP/nt5o3le/lA1q0DhCWNxtDncHx0vzRHRuwpswTeUR GsmM6vikQVRp4q84Le0V7HG1/4L/NDlw0F3b03Gw= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by sourceware.org (Postfix) with ESMTPS id 6DAB63985457 for ; Thu, 1 Oct 2020 10:16:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6DAB63985457 Received: by mail-wr1-x442.google.com with SMTP id j2so5001578wrx.7 for ; Thu, 01 Oct 2020 03:16:39 -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=zFGAHQ4tN0qBaxawcSu4iAIimfA+9SaHeUdt25mZxi4=; b=hxF+wf1quG9+TsLcAOreduU9elAwA6Okra5FY6OPC9tjQ21xeQjPQoT/R8m8FiXbbP 3IWYEeKS2iriXrdhTvOek3OHYMu8lf+h7SEOLJKZS28XGlUWxlxHnYU0kpvPuv6V4M9h UKddHHLHAxtoKzsOzxTpb9rvC6tj3N5zaOf0kZn7g+oWP3Qdjomlflyfp8lCWFokWQPW uTSIwI5zOby58N7Gzn0eRXF7tgxj6YPSnLHhFlQNPh5mN0FqGQ219h3HSiqJRs2lXH6S aika6gqQNXzquqQRcySUKw8+KF1cT69UJ6QjH+rvK5fz+EKRkhT57l3o4d5wtXHZQvQs ofWA== X-Gm-Message-State: AOAM533o9QH1kH+bCHk0qUxx++wEydqisZEmfVe3BWJIE6xK0tJjLTxQ dPxPSgtTN1so/QWeQTGf7PI= X-Google-Smtp-Source: ABdhPJzGcMv+O/PwCQkeGPBH1ROiDUCVsbIVqf4RlR71v10x+pPw/jv1UCSDF+By4GcxntgyXybJaw== X-Received: by 2002:adf:91c2:: with SMTP id 60mr8684737wri.292.1601547398450; Thu, 01 Oct 2020 03:16:38 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id i15sm8671922wrb.91.2020.10.01.03.16.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2020 03:16:37 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH 09/16] system_data_types.7: Add int_leastN_t family of types Date: Thu, 1 Oct 2020 12:15:53 +0200 Message-Id: <20201001101559.77163-10-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=-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: 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 | 72 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index e3ebc2270..0b8057087 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -405,6 +405,78 @@ and .IR uint N _t types in this page. .RE +.\"------------------------------------- int_leastN_t -----------------/ +.TP +.IR int_least N _t +.RS +Include: +.IR . +Alternatively, +.IR . +.PP +.IR int_least8_t , +.IR int_least16_t , +.IR int_least32_t , +.I int_least64_t +.PP +The narrowest signed 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 +.RB [ INT_LEAST N _MIN , +.BR INT_LEAST N _MAX ], +substituting N by the appropriate number. +.PP +The length modifiers for the +.IR int_least N _t +types for the +.BR printf (3) +family of functions +are expanded by macros of the forms +.BR PRIdLEAST N +and +.BR PRIiLEAST N +(defined in +.IR ); +resulting for example in +.B %"PRIdLEAST64" +or +.B %"PRIiLEAST64" +for printing +.I int_least64_t +values. +The length modifiers for the +.IR int_least N _t +types for the +.BR scanf (3) +family of functions +are expanded by macros of the forms +.BR SCNdLEAST N +and +.BR SCNiLEAST N, +(defined in +.IR ); +resulting for example in +.B %"SCNdLEAST8" +or +.B %"SCNiLEAST8" +for scanning +.I int_least8_t +values. +.PP +Conforming to: +C99 and later; POSIX.1-2001 and later. +.PP +See also the +.IR int_fast N _t , +.IR int N _t , +.IR uint_fast N _t , +.IR uint_least N _t +and +.IR uint N _t +types in this page. +.RE .\"------------------------------------- intmax_t ---------------------/ .TP .I intmax_t