From 70f9a4edb3366d10cdd4430b5abc4f4fc1645bea Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Mon, 10 May 2021 19:55:12 +0200 Subject: [PATCH] ioctl_tty.2: Fix includes is needed for the prototype of ioctl(). That header also provides most of the constants used by the function. Only a few of those constants are not provided by that header, and need ; clarify which constants do need that include. ...... $ Signed-off-by: Michael Kerrisk --- man2/ioctl_tty.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/man2/ioctl_tty.2 b/man2/ioctl_tty.2 index badd58e50..c82690701 100644 --- a/man2/ioctl_tty.2 +++ b/man2/ioctl_tty.2 @@ -10,7 +10,9 @@ ioctl_tty \- ioctls for terminals and serial lines .SH SYNOPSIS .nf -.B "#include " +.B #include +.BR "#include " " /* Definition of " CLOCAL ", and" +.BR " TC*" { FLUSH , ON , OFF "} constants */" .PP .BI "int ioctl(int " fd ", int " cmd ", ...);" .fi @@ -119,8 +121,6 @@ Window sizes are kept in the kernel, but not used by the kernel update the window size when the size of the virtual console changes, for example, by loading a new font). .PP -The following constants and structure are defined in -.IR . .TP .B TIOCGWINSZ Argument: