Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3737541pxk; Tue, 29 Sep 2020 05:10:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxboRSNsSPE5ZrbX1LrjcCggNTYNZXLdYsF4XskeOrr0NSdelI8+mWfTwl/n01BOLVzUOvE X-Received: by 2002:a17:906:cb98:: with SMTP id mf24mr3702252ejb.90.1601381421759; Tue, 29 Sep 2020 05:10:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601381421; cv=none; d=google.com; s=arc-20160816; b=OwmE/nPNc59Ed7rF+ybOHGbAJhh03B/cWDecyoPaV1aW/ybjM/gSWUI+XHZh1EUkmE 8+V8rZ9teODRGGT8Lvs0lshjqr5pb2xVw2KzE2EetEZ+Wu+Lm4Ab1dgpYnQ5FgArn26z 67C3Oe1Nj3cDANXsMCDoOcy0mB4x4CG6mIIJKOOlJq6/rlj73C8e75n7Te4w1PtOKODr AuPqijSd7svLcU72VAVRyJ4wIWT2wa617Jn2NdTzTyXH/7dWhMGjUYVJY+gYAqnYKJvJ 2dzhX7cSentIq2Wtvw+H2gQvmlOETgYwWSsreiFpjoTPl9VpmebzceFYvehkwAQ1NC2w VKJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:cc:dkim-signature; bh=rf/0DA9A43B4u9HrFqYqsvp9POw7rCQFUx9GMVzOhJI=; b=XkrhCGZQKfkf9VY9loeTM+HDwp/uzHMcRCkpEPIVjs1uSMNk4Y5+5twP7ifWOAy+Vk /5HFM7gBc9kbmS1wGk7TwVnk9BGsu4DJ8xa+UQxGWBYQzfVv09s86U2jcHfigqRZABqR Ss9yvgH6MGka/VZ5SXNXmDS23reEmpIV7SviS9aDh8nuAxQDd5VdVgnSxW3sEKGo3lbg Zb7AWVgkbuoi63/lI/j3hTkvLuTuJ4axtZSINx6shNoAqBbia//JW7M5UMdqsnDhxvwV X4pSBprTRIkpKkDpfSnmxLGc/fLRbEgW0ubSNigJRIMiOd/dch+Yyvfl4iPPuS/b0DF7 /Ukw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UBBNl7Lm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h1si2982997edn.39.2020.09.29.05.09.58; Tue, 29 Sep 2020 05:10:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UBBNl7Lm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731133AbgI2MH6 (ORCPT + 99 others); Tue, 29 Sep 2020 08:07:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731957AbgI2MHf (ORCPT ); Tue, 29 Sep 2020 08:07:35 -0400 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 870D3C061755; Tue, 29 Sep 2020 05:07:34 -0700 (PDT) Received: by mail-wm1-x341.google.com with SMTP id e17so4366217wme.0; Tue, 29 Sep 2020 05:07:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=cc:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=rf/0DA9A43B4u9HrFqYqsvp9POw7rCQFUx9GMVzOhJI=; b=UBBNl7Lmm82WXtWOiANc/fbGX3kcqYiOLEghnO4QnkvRwSWPC0RlrMe+wUtINWuNds iJ5BnHOJNor441pN9+mHmnvp0SySsUZumwy8n1ha8DlzBtuYfSyKxmPTEUNelrq+43/B ikfnDStVVWmbIZFLkhaN7HC7sQngpGQmAhsyeinsyfBtjmRiwS2W4amVmcctD7u0qonA ge/ZFw+tq57RiJ2CkAW8ELipmtU2JH95hsqu5R/mfys5cKRvurKFrvVn5c8a0SisfvmJ s5EUQitzIfNljcOiM0HACsJXU8ZrPiZ14sU82Y0sGIwVZIVvsmBv+AKMoe7lBVA+sKXe ZFgw== 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=rf/0DA9A43B4u9HrFqYqsvp9POw7rCQFUx9GMVzOhJI=; b=jXPA7kJYjQtLb6JOyxAuCJBmTc7LsQM/brEloNSPf7YeUkkK6oof7Zi8WYdve2c2mk YnVyVGs8pVFsrgc3dp0gn7qLYxR0dw0UIPjcytf1GmF+85rpme/Danag4JWhzEHAt0ak 6c/NvCcN26jVmT2LQFyQcJGgFXETqsA7QdzPkbl/JLuqctvG2x7RfAb5hmwU/KOZIsuD B7gha193PoyxyIbyIAjz/RDWbGi63F46R8Z4TFvc72QkxkBHDRQWyRL7/V4wmZMEjf4o UNG9Ofb5D3+LGcBwGVTIVtCC8jHReffiORmpWvdQ+ttYw4fPrsssTT/ECe7Zm2EbVCLF +qdQ== X-Gm-Message-State: AOAM530C3Ms2PngdhMcvZW2sPFOCfGqzZrFSW3D4W9aTqJL+0K2nBPvp eE61W/dByGSnuKq6uuMQ6GRG6mj5L/M= X-Received: by 2002:a05:600c:2189:: with SMTP id e9mr4233573wme.8.1601381252919; Tue, 29 Sep 2020 05:07:32 -0700 (PDT) Received: from ?IPv6:2001:a61:2479:6801:d8fe:4132:9f23:7e8f? ([2001:a61:2479:6801:d8fe:4132:9f23:7e8f]) by smtp.gmail.com with ESMTPSA id u12sm5949457wrt.81.2020.09.29.05.07.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Sep 2020 05:07:32 -0700 (PDT) Cc: mtk.manpages@gmail.com, linux-kernel@vger.kernel.org, linux-man@vger.kernel.org Subject: Re: [PATCH 22/24] membarrier.2: Note that glibc does not provide a wrapper To: Alejandro Colomar , g.branden.robinson@gmail.com References: <20200927054657.ea2zaiesle6hwjit@localhost.localdomain> <562859fd-6740-1068-d9d0-9562140cec33@gmail.com> From: "Michael Kerrisk (man-pages)" Message-ID: Date: Tue, 29 Sep 2020 14:07:31 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <562859fd-6740-1068-d9d0-9562140cec33@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/27/20 10:05 PM, Alejandro Colomar wrote: > Hi Branden, > > * G. Branden Robinson via linux-man: > > 1) > > > .EX > > .B int fstat(int \c > > .IB fd , \~\c > > .B struct stat *\c > > .IB statbuf ); > > .EE > > 2) > > > .EX > > .BI "int fstat(int " fd ", struct stat *" statbuf ); > > .EE > > 3) > > > .EX > > .BI "int fstat(int\~" fd ", struct stat *" statbuf ); > > .EE > > I'd say number 2 is best. Rationale: grep :) > I agree it's visually somewhat harder, but grepping is way easier. I'd say number 2 also. But, visually, it's the least difficult for me. Thanks, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/