Scroll to navigation

ioctl_console(2) System Calls Manual ioctl_console(2)

НАИМЕНОВАНИЕ

ioctl_console - управление вводом-выводом (ioctl) консольного терминала и виртуальных консолей

ОБЗОР

#include <sys/ioctl.h>
int ioctl(int fd, unsigned long op, ...);

ОПИСАНИЕ

The following Linux-specific ioctl(2) operations are supported for console terminals and virtual consoles.

См. ioctl_kd(2).
См. ioctl_vt(2).

ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ

On success, 0 is returned (except where indicated). On failure, -1 is returned, and errno is set to indicate the error.

СТАНДАРТЫ

Linux.

CAVEATS

Do not regard this man page as documentation of the Linux console ioctls. This is provided for the curious only, as an alternative to reading the source. Ioctl's are undocumented Linux internals, liable to be changed without warning. (And indeed, this page more or less describes the situation as of kernel version 1.1.94; there are many minor and not-so-minor differences with earlier versions.)

Очень часто ioctl вводятся для обмена между ядром и какой-то определённой известной программой (fdisk, hdparm, setserial, tunelp, loadkeys, selection, setfont и т.д.), и их поведение изменяется по требованию этой программы.

СМОТРИТЕ ТАКЖЕ

ioctl(2), TIOCLINUX(2const), ioctl_kd(2), ioctl_vt(2), dumpkeys(1), kbd_mode(1), loadkeys(1), mknod(1), setleds(1), setmetamode(1), execve(2), fcntl(2), ioctl_tty(2), ioperm(2), termios(3), console_codes(4), mt(4), sd(4), tty(4), ttyS(4), vcs(4), vcsa(4), charsets(7), mapscrn(8), resizecons(8), setfont(8)

ПЕРЕВОД

Русский перевод этой страницы руководства разработал(и) Azamat Hackimov <azamat.hackimov@gmail.com>, Dmitriy S. Seregin <dseregin@59.ru>, Yuri Kozlov <yuray@komyakino.ru>, Иван Павлов <pavia00@gmail.com> и Kirill Rekhov <krekhov.dev@gmail.com>

Этот перевод является свободной программной документацией; он распространяется на условиях общедоступной лицензии GNU (GNU General Public License - GPL, https://www.gnu.org/licenses/gpl-3.0.html версии 3 или более поздней) в отношении авторского права, но БЕЗ КАКИХ-ЛИБО ГАРАНТИЙ.

Если вы обнаружите какие-либо ошибки в переводе этой страницы руководства, пожалуйста, сообщите об этом разработчику(ам) по его(их) адресу(ам) электронной почты или по адресу списка рассылки русских переводчиков.

14 июня 2024 г. Справочные страницы Linux 6.9.1