]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
ioctl_console.2: SYNOPSIS: Add section
authorAlejandro Colomar <alx@kernel.org>
Sun, 9 Jun 2024 21:53:21 +0000 (23:53 +0200)
committerAlejandro Colomar <alx@kernel.org>
Thu, 13 Jun 2024 21:54:43 +0000 (23:54 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man/man2/ioctl_console.2

index 93a99226402fd688d18844e413eb3ae56afb60d5..4c26aa52a7f0b6b04a99d213a7af22088fd9e954 100644 (file)
 .TH ioctl_console 2 (date) "Linux man-pages (unreleased)"
 .SH NAME
 ioctl_console \- ioctls for console terminal and virtual consoles
+.SH SYNOPSIS
+.nf
+.B #include <sys/ioctl.h>
+.P
+.BI "int ioctl(int " fd ", unsigned long " op ", void *" argp );
+.fi
 .SH DESCRIPTION
 The following Linux-specific
 .BR ioctl (2)
 operations are supported for console terminals and virtual consoles.
-Each operation requires a third argument, assumed here to be
-.IR argp .
 .TP
 .B KDGETLED
 Get state of LEDs.