From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-4.3 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 6310D1F4B4 for ; Mon, 5 Apr 2021 10:41:01 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 51EFF3851C1C; Mon, 5 Apr 2021 10:41:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 51EFF3851C1C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1617619260; bh=jqz1mZ97pqAxO3A6Nh9FPYYSSVCBfyzA8/UBS37vfQ4=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=W3Uzxdbt48n6vbXKQvxRbI0mhfxAjn/OkJcv+Ll116MkqbZwX4FweRoDKurG85otb xS8OE6G6gidr5yTcR4+dYK4hQ6wJR7tzZA02yRb5FxwcsfPa3Mgw0XLeuYDqbBf/fl Zd5UN/UXTubhJd/yxeid2fBjDmXR5GuDCButhAPo= Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by sourceware.org (Postfix) with ESMTPS id 361653857C4C for ; Mon, 5 Apr 2021 10:40:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 361653857C4C Received: by mail-ej1-x634.google.com with SMTP id b7so16244427ejv.1 for ; Mon, 05 Apr 2021 03:40:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:cc:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jqz1mZ97pqAxO3A6Nh9FPYYSSVCBfyzA8/UBS37vfQ4=; b=jbdNZjT++F13jWZvVYUuvUIETc2H3H7UJxdl8FTgsr8dKANCl2e19lRiV1n9Q1fc4h k5IQYrxpDZDqQmeswB6bL9SJar8YqFP7RitWojnXBFNm1plTjWS6intm1URErMceYsIA MG5QY236plkW1bHW5O5vQfe6Ll4fz1fDgt5s2kVfmx59oS089jotRjyYiux6gp6BeVdl h4MfUHb2ARRvXwkrNZmdtyvt5VFqxOOlstOdH1nQg/jVfD3UBdor7rN4Fdl/K291hC30 bioI+Sq3/lkJUaIOfRIUwQJVfKKw6trsHOIPTQVXLEify22MG+cWWMiZM9j5a1iDPFQD NUJw== X-Gm-Message-State: AOAM530Xep0yUTE7W68O9i0f3Dox3RdA4okYQa9G3m1Kkzlhk1layVnw /0LeiaJpG1GQkZhKIxcv3T2iyR+QaOw= X-Google-Smtp-Source: ABdhPJxxHJ2WlE1nAcUDw804U0e5akW4z9swRW+5jytOGuQiuIwcg5ChJZIQS0jrLfSG64tZg+imPQ== X-Received: by 2002:a17:906:4a52:: with SMTP id a18mr820291ejv.194.1617619257128; Mon, 05 Apr 2021 03:40:57 -0700 (PDT) Received: from ?IPv6:2001:a61:2553:a401:cfc6:2039:a9ec:21ff? ([2001:a61:2553:a401:cfc6:2039:a9ec:21ff]) by smtp.gmail.com with ESMTPSA id u24sm8472391ejn.5.2021.04.05.03.40.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Apr 2021 03:40:56 -0700 (PDT) Subject: Re: [PATCH v5 03/35] system_data_types.7: Add 'socklen_t' To: Alejandro Colomar References: <20210403194026.102818-1-alx.manpages@gmail.com> <20210404115847.78166-4-alx.manpages@gmail.com> Message-ID: <89fad7a7-1634-aa8f-ffc3-eb1b43ceac7c@gmail.com> Date: Mon, 5 Apr 2021 12:40:55 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210404115847.78166-4-alx.manpages@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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: , From: "Michael Kerrisk \(man-pages\) via Libc-alpha" Reply-To: "Michael Kerrisk \(man-pages\)" Cc: linux-man@vger.kernel.org, libc-alpha@sourceware.org, mtk.manpages@gmail.com Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Hello Alex, On 4/4/21 1:58 PM, Alejandro Colomar wrote: > Signed-off-by: Alejandro Colomar > --- > man7/system_data_types.7 | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) Patch applied. Thanks, Michael > > diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 > index 93c723a2f..e038aab1e 100644 > --- a/man7/system_data_types.7 > +++ b/man7/system_data_types.7 > @@ -1251,6 +1251,34 @@ POSIX.1-2001 and later. > .BR getsockname (2), > .BR socket (2) > .RE > +.\"------------------------------------- socklen_t --------------------/ > +.TP > +.I socklen_t > +.RS > +.IR Include : > +.IR . > +Alternatively, > +.IR . > +.PP > +Describes the length of a socket address. > +According to POSIX, > +this shall be an integer type of at least 32 bits. > +.PP > +.IR "Conforming to" : > +POSIX.1-2001 and later. > +.PP > +.IR "See also" : > +.BR accept (2), > +.BR bind (2), > +.BR connect (2), > +.BR gethostbyaddr (2), > +.BR getnameinfo (2), > +.BR socket (2) > +.PP > +See also the > +.I sockaddr > +structure in this page. > +.RE > .\"------------------------------------- ssize_t ----------------------/ > .TP > .I ssize_t > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/