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-Status: No, score=-4.1 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, 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 2D3841F4B4 for ; Thu, 8 Oct 2020 10:43:56 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9AB133857C70; Thu, 8 Oct 2020 10:43:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9AB133857C70 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1602153834; bh=AztNVuITSuSSnqk6edJA0rHH0Vv/UVk0+lTH69BlWqc=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=TBNI7jkwqHQ/m0f4kyIlm6YulK33oRjFaBBYXO/tvGG24qcTFrE17cVZ9K9OP+Ghd bmCdCMwpEYgtxtFFUuxaf3XM2V5S66FUtpEJkOMN5NDdfcyfGGuS939zvOVNGa+/8L +iFhDEKe264IOeb0itdmDdkN5DCW+NBxeulSyYm8= Received: from mail-oo1-xc43.google.com (mail-oo1-xc43.google.com [IPv6:2607:f8b0:4864:20::c43]) by sourceware.org (Postfix) with ESMTPS id 6280B3857C6F for ; Thu, 8 Oct 2020 10:43:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6280B3857C6F Received: by mail-oo1-xc43.google.com with SMTP id o20so1362734ook.1 for ; Thu, 08 Oct 2020 03:43:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=AztNVuITSuSSnqk6edJA0rHH0Vv/UVk0+lTH69BlWqc=; b=RLLlBl9ngSXrWYoUE5/qC9hA4KkOlVIlxLyFdwUUb4mZvjk5pabE6qNl3vDDFF92pM DrcK7rI/EiNP998X06kq5/7zAJZmdkDzCP5c6hF9mZE9zYulfxHCk+hgkwZds0pOplcX e8afhMedGpQQT0D3+YN7ul4PIxNMFJw2wTAhmyKCYfGKVRRMAA9Hmjv8YrogcIZ5XjVs vn2qoMETXopded+LDU4urwmar5AZsg40Y9NJrY4ovdxJ4MyIjipzgpcbOwux9FdoxAXw IwFz3gDwRxS9SYn5CBusptewyN85IMZdQK+ssMaOtf+Gi1ena4bRbxw8U6ivY7RiwTbr ErCQ== X-Gm-Message-State: AOAM530hCUOF6khZFR5scAe1xeDLQWHx8E18qfjkfv8foouZo0grZtBw XtaY5aldUJPqNdFMRuVkarCOTT4yXlz7XQ6KmP+H+3nHzOc= X-Google-Smtp-Source: ABdhPJz2796uDssvObV2gQD5rYxOqmgiWeTZBQvyw+/Zr6vrGdxbpAjoP7PJJU4bTJSo0C9kowCYHB/zJnI4HvIjrIc= X-Received: by 2002:a4a:96a3:: with SMTP id s32mr4971692ooi.17.1602153831735; Thu, 08 Oct 2020 03:43:51 -0700 (PDT) MIME-Version: 1.0 References: <20201008080451.8248-1-colomar.6.4.3@gmail.com> In-Reply-To: <20201008080451.8248-1-colomar.6.4.3@gmail.com> Date: Thu, 8 Oct 2020 12:43:40 +0200 Message-ID: Subject: Re: [PATCH] system_data_types.7: Add 'fd_set' To: Alejandro Colomar Content-Type: text/plain; charset="UTF-8" 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: mtk.manpages@gmail.com Cc: linux-man , "libc-alpha@sourceware.org" Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" Hi Alex, Thanks for the patch. See below. On Thu, 8 Oct 2020 at 10:05, Alejandro Colomar wrote: > > Signed-off-by: Alejandro Colomar > --- > > Hi Michael, > > There's no link for this type, because it would conflict with FD_SET.3, > which is a link to select(2). Okay. > man7/system_data_types.7 | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > > diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 > index b0e0d2b48..adddf823f 100644 > --- a/man7/system_data_types.7 > +++ b/man7/system_data_types.7 > @@ -151,6 +151,23 @@ See also the > .I float_t > type in this page. > .RE > +.\"------------------------------------- fd_set -----------------------/ > +.TP > +.I fd_set > +.RS > +Include: > +.IR . > +Alternatively, > +.IR . > +.PP > +A structure holding a fixed size buffer of file descriptors. "buffer" feels wrong. I think this would be better as something like: "A structured type that can represent a set of file descriptors." And then you could perhaps say somewhere: "In the glibc implementation, the maximum file descriptor number that can be represented is 1023." Thanks Michael