All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: David Howells <dhowells@redhat.com>, linux-man@vger.kernel.org
Subject: Re: ioctl_pipe(2): SYNOPSIS: $1
Date: Sat, 14 Dec 2024 19:04:23 +0100	[thread overview]
Message-ID: <20241214180423.2thsuyyfosrlyajb@devuan> (raw)
In-Reply-To: <20241214180348.pp4vrlnxqpo6cus6@devuan>

[-- Attachment #1: Type: text/plain, Size: 773 bytes --]

Oops, I forgot to CC the linux-man@ list.  Fixed now.

On Sat, Dec 14, 2024 at 07:03:51PM +0100, Alejandro Colomar wrote:
> 
> Hi Cyril,
> 
> The manual page ioctl_pipe(2) has this synopsis:
> 
>        int ioctl(int pipefd[1], IOC_WATCH_QUEUE_SET_SIZE, int size);
>        int ioctl(int pipefd[1], IOC_WATCH_QUEUE_SET_FILTER,
>                  struct watch_notification_filter *filter);
> 
> Which says the $1 is an array of int (the type is declared as int[1]).
> However, this is incorrect, since the first argument is of course a
> plain int, a single file descriptor.  Would you mind revising the page?
> 
> Thanks!
> And have a lovely night!
> Alex
> 
> -- 
> <https://www.alejandro-colomar.es/>



-- 
<https://www.alejandro-colomar.es/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

       reply	other threads:[~2024-12-14 18:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20241214180348.pp4vrlnxqpo6cus6@devuan>
2024-12-14 18:04 ` Alejandro Colomar [this message]
2024-12-16 10:23   ` ioctl_pipe(2): SYNOPSIS: $1 Cyril Hrubis
2024-12-23 21:29     ` Alejandro Colomar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241214180423.2thsuyyfosrlyajb@devuan \
    --to=alx@kernel.org \
    --cc=chrubis@suse.cz \
    --cc=dhowells@redhat.com \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.