From patchwork Thu Oct 1 10:15:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alejandro Colomar X-Patchwork-Id: 40571 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 5CD43398B40C; Thu, 1 Oct 2020 10:16:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5CD43398B40C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1601547415; bh=BrBNJnKzSCnbCUByN1Nmr0+xgbV3IIjQXW2zm3f84G8=; 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=jzmVntyJFOvyDFwr28TphokZsCishDi6IVDAL/0YQ6f5m2QeuMEzFWISxOnKDHEGz seGnrJe5D4sQd3psAoMlb+j2VbjLmT3+ciSVlCiF31I79yOUK0ssY3HqgIhUwx8oi1 n2S7M8sHRtl8PWOqFgpXS8qN3ph0akFYRL2pAM9k= 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 78B3E3987C05 for ; Thu, 1 Oct 2020 10:16:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 78B3E3987C05 Received: by mail-wr1-x442.google.com with SMTP id c18so4988236wrm.9 for ; Thu, 01 Oct 2020 03:16:43 -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=BrBNJnKzSCnbCUByN1Nmr0+xgbV3IIjQXW2zm3f84G8=; b=PaYPHbBF4kiHX+L4h68s9YRpk/WZWRA33gqqd6oXf7gFmni+9mb9v3Ls+eokvKBWL9 7InZA5OtIWTs0o5p+vDLhkKGOTlhkHJZg/oaIJ753LpA2cVTxxOhBcFz6yPA031qTuKr oGZgYavlBe+x88FV1fK645b4dmSDnLykDyba19gvm0mSlZ14N+yB6En65++p2i3i+9uG zt2ECw6I3EUnOmVHgzz+OX1KaYFaocpZRaIXXPAMjWatfgIQqWsIz3Z6Kr71O7c59C8c ukCJ/2gqmQa89HlX00gAcnX203cqx78YPY0n5kJlBjSkRodLLrU2THlzVomysZcd/nwP N3qA== X-Gm-Message-State: AOAM531z6GViwlljARMW0QYXfBR4DGaMJSh5zZS+PXCGtZ7WDpOyOQ9J Hh9jQGdrwgSiZLqrcB/KGQk= X-Google-Smtp-Source: ABdhPJy1a5CTWREwrb1TBjD0VMj6SOvCHMBaZpxbYThS8j8uctXBBwBTErM1KbJOPK+iIiY/fndf8g== X-Received: by 2002:adf:dd10:: with SMTP id a16mr8034081wrm.42.1601547402643; Thu, 01 Oct 2020 03:16:42 -0700 (PDT) Received: from localhost.localdomain ([170.253.60.68]) by smtp.googlemail.com with ESMTPSA id i15sm8671922wrb.91.2020.10.01.03.16.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Oct 2020 03:16:42 -0700 (PDT) To: mtk.manpages@gmail.com Subject: [PATCH 13/16] system_data_types.7: Add 'intptr_t' Date: Thu, 1 Oct 2020 12:15:57 +0200 Message-Id: <20201001101559.77163-14-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=-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: 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 | 65 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index f768e87ba..2632436ed 100644 --- a/man7/system_data_types.7 +++ b/man7/system_data_types.7 @@ -616,6 +616,71 @@ and .I unsigned __int128 types in this page. .RE +.\"------------------------------------- intptr_t ---------------------/ +.TP +.I intptr_t +.RS +Include: +.IR . +Alternatively, +.IR . +.PP +A signed integer type +such that any valid +.RI ( "void *" ) +value can be converted to this type and back. +According to the C language standard, it shall be +capable of storing values in the range +.RB [ INTPTR_MIN , +.BR INTPTR_MAX ]. +.PP +The length modifier for +.I intptr_t +for the +.BR printf (3) +family of functions +is expanded by the macros +.B PRIdPTR +and +.B PRIiPTR +(defined in +.IR ); +resulting commonly in +.B %"PRIdPTR" +or +.B %"PRIiPTR" +for printing +.I intptr_t +values. +The length modifier for +.I intptr_t +for the +.BR scanf (3) +family of functions +is expanded by the macros +.B SCNdPTR +and +.B SCNiPTR, +(defined in +.IR ); +resulting commonly in +.B %"SCNdPTR" +or +.B %"SCNiPTR" +for scanning +.I intptr_t +values. +.PP +Conforming to: +C99 and later; POSIX.1-2001 and later. +.PP +See also the +.I uintptr_t +and +.I void * +.\" TODO: Document void * +types in this page. +.RE .\"------------------------------------- lconv ------------------------/ .TP .I lconv