From: Alejandro Colomar Date: Sun, 9 Jun 2024 21:53:21 +0000 (+0200) Subject: ioctl_console.2: SYNOPSIS: Add section X-Git-Tag: man-pages-6.9~3^2~7^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b604f0dfd483a5df1bb6899fcd0ccc6bc06a5356;p=thirdparty%2Fman-pages.git ioctl_console.2: SYNOPSIS: Add section Signed-off-by: Alejandro Colomar --- diff --git a/man/man2/ioctl_console.2 b/man/man2/ioctl_console.2 index 93a992264..4c26aa52a 100644 --- a/man/man2/ioctl_console.2 +++ b/man/man2/ioctl_console.2 @@ -22,12 +22,16 @@ .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 +.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.