Re: ioctl_pipe(2): SYNOPSIS: $1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux