]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
man2/: Use the common name 'fd' instead of 'fildes'
authorAlejandro Colomar <alx@kernel.org>
Sun, 24 Aug 2025 20:15:33 +0000 (22:15 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sun, 24 Aug 2025 20:21:15 +0000 (22:21 +0200)
File descriptors are commonly called 'fd'.  'fildes' is weird and
confusing.

Reported-by: Helge Kreutzmann <debian@helgefjell.de>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/close.2
man/man2/ioctl.2

index f7a26054f3f2a2a2db0779531c3fde42426e55ad..c47df055e61643e1e66536cdf1d3ffec92e8231c 100644 (file)
@@ -216,7 +216,7 @@ is interrupted by a signal that is to be caught, it shall return \-1 with
 set to
 .B EINTR
 and the state of
-.I fildes
+.I fd
 is unspecified.
 .RE
 .P
index 3adb78f275642b4840c9a5f6f5c5ede644fb2427..837998d517d9cd22cda96a8dae83a34edd9a3f91 100644 (file)
@@ -99,7 +99,7 @@ Version\~7 AT&T UNIX has
 .PD 0
 .in +4n
 .nf
-.BI "ioctl(int " fildes ", int " op ", struct sgttyb *" argp );
+.BI "ioctl(int " fd ", int " op ", struct sgttyb *" argp );
 .fi
 .in
 .P
@@ -136,7 +136,7 @@ SysVr4 has
 .PD 0
 .in +4n
 .nf
-.BI "int ioctl(int " fildes ", int " op ", ... /* " arg " */);"
+.BI "int ioctl(int " fd ", int " op ", ... /* " arg " */);"
 .fi
 .in
 .P