Re: Issue in man page ioctl.2
From: Alejandro Colomar <alx@kernel.org>
Date: 2025-08-24 20:14:24
Attachments
- signature.asc [application/pgp-signature] 833 bytes
From: Alejandro Colomar <alx@kernel.org>
Date: 2025-08-24 20:14:24
Hi Helge, On Sun, Aug 24, 2025 at 02:48:42PM +0000, Helge Kreutzmann wrote:
Without further ado, the following was found: Issue: What is fildes?
It seems a weird way of saying file descriptor. I'll change it to fd. Also present in close(2), where it's a bug, because nothing else calls it 'fildes': $ grep -rn \\bfildes\\b man2/close.2:219:.I fildes man2/ioctl.2:102:.BI "ioctl(int " fildes ", int " op ", struct sgttyb *" argp ); man2/ioctl.2:139:.BI "int ioctl(int " fildes ", int " op ", ... /* " arg " */);" Cheers, Alex
"B<ioctl(int >I<fildes>B<, int >I<op>B<, struct sgttyb *>I<argp>B<);>\n" "B<ioctl(int >I<fildes>B<, int >I<request>B<, struct sgttyb *>I<argp>B<);>\n"
-- <https://www.alejandro-colomar.es/>