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 F23001F8C6 for ; Sun, 8 Aug 2021 21:20:05 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D052B385AC2B for ; Sun, 8 Aug 2021 21:20:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D052B385AC2B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1628457604; bh=JA0sj3hLM2Qf6Vz/jVLvjW8pe4pKXIxBwPOdw3poh8w=; 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=wRsaP3f/iDoKSDoBW7ofFKuRKY33LUhJAYOX+HZxXoPWyzMFq6vL75MfIX1zFPB4Z FMhn/0JXhgJPYGmEY3OU32CTWpW0tET0XKVxrl4E0mkGJTj2kCPwhBR+qIY2NnElXq aqzHyNJNUsg/UNAMED9/uG7peHCAp1yDepbN3SXc= Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by sourceware.org (Postfix) with ESMTPS id 4B8D7385840D for ; Sun, 8 Aug 2021 21:19:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4B8D7385840D Received: by mail-wr1-x42d.google.com with SMTP id c9so18673897wri.8 for ; Sun, 08 Aug 2021 14:19:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=JA0sj3hLM2Qf6Vz/jVLvjW8pe4pKXIxBwPOdw3poh8w=; b=sEkS95bWOMBOQff/iELQtwifaDOZiin1f7c97UYBRlu/VE1ehyK78BJtcxyzsbUp9b w5TkxrtN0Bdthj+d6MyyQnueCw7riQlcevmkiHUp/N4Q2JgEEv7OAzZfaBCGzieL4ZN1 EOCGrkXezC/MICX8VGmVUk07DdsDaxWw58KKx/KXpciyZOkvtGJF0LtTHHfxmjWTjsPj d0+mIovwhkOR/JAUEgrjxrv4bKkO4S1srdiraLXSbslnaOOV9UNUvOdoKSSETTDaIYO3 ycXeli4opr39ZBC5M6LFZbUBWXz7cc2vpL0LRBfkGz3+r/Svtq0YFkhSz0irig56XdKp 6Mgg== X-Gm-Message-State: AOAM532g+hURX7wtVzDwLGigsiDHzyRZMHx1xyi/Ls2R2zE8qPStGqd1 OhMkYat2d6N+YA3dC1vARLU= X-Google-Smtp-Source: ABdhPJykps6yRaN3Qs5phVQjTdg0Z7bpCdfyzdAcMoZV/9LBkJNB740yrJSZw1k/E8y2WIglaJorZA== X-Received: by 2002:adf:dfc2:: with SMTP id q2mr21858216wrn.13.1628457584351; Sun, 08 Aug 2021 14:19:44 -0700 (PDT) Received: from [10.8.0.10] ([195.53.121.100]) by smtp.gmail.com with ESMTPSA id d16sm16917841wrx.76.2021.08.08.14.19.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 08 Aug 2021 14:19:44 -0700 (PDT) Subject: Re: [PATCH v3] ioctl_tty.2: Add example how to get or set baudrate on the serial port To: =?UTF-8?Q?Pali_Roh=c3=a1r?= References: <20210730095333.6118-1-pali@kernel.org> <20210801135146.14849-1-pali@kernel.org> <54c8c04d-4f9b-1ab6-a3a5-c23b2be74a9d@gmail.com> <20210808210530.ykqrihpfmdabbdl2@pali> Message-ID: <27a03c58-33d5-0c63-5228-3320db1f42ad@gmail.com> Date: Sun, 8 Aug 2021 23:19:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: <20210808210530.ykqrihpfmdabbdl2@pali> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit 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: "Alejandro Colomar \(man-pages\) via Libc-alpha" Reply-To: "Alejandro Colomar \(man-pages\)" Cc: =?UTF-8?Q?Marek_Beh=c3=ban?= , "G. Branden Robinson" , libc-alpha@sourceware.org, Michael Kerrisk , linux-man@vger.kernel.org Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" Hi Pali, On 8/8/21 11:05 PM, Pali Rohár wrote: >> When you send v4, please include the above text (or something similar) to >> the commit message. > > Hello Alejandro! Sure I will put description into commit message. > > Moreover this kind of information should be properly documented into > ioctl_tty.2 manpage itself. But I really do not know in which part. Into > ioctl (and which?)? Or separate paragraph? As it basically describe some > field of struct termios and struct termios2, which are undocumented too. > > Do you have some idea or picture how such thing should be properly > documented in man-pages project? Being documentation for a type, I think the best place for that is system_data_types(7) . Do you feel like writing that? See the thread we started the other day: You can also get some inspiration from other pages that also define types, like stat(2), and sigevent(7). Thanks, Alex -- Alejandro Colomar Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/ http://www.alejandro-colomar.es/