Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: vt.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
#ifndef _LINUX_VT_H
[1] Fix | Delete
#define _LINUX_VT_H
[2] Fix | Delete
[3] Fix | Delete
[4] Fix | Delete
/*
[5] Fix | Delete
* These constants are also useful for user-level apps (e.g., VC
[6] Fix | Delete
* resizing).
[7] Fix | Delete
*/
[8] Fix | Delete
#define MIN_NR_CONSOLES 1 /* must be at least 1 */
[9] Fix | Delete
#define MAX_NR_CONSOLES 63 /* serial lines start at 64 */
[10] Fix | Delete
/* Note: the ioctl VT_GETSTATE does not work for
[11] Fix | Delete
consoles 16 and higher (since it returns a short) */
[12] Fix | Delete
[13] Fix | Delete
/* 0x56 is 'V', to avoid collision with termios and kd */
[14] Fix | Delete
[15] Fix | Delete
#define VT_OPENQRY 0x5600 /* find available vt */
[16] Fix | Delete
[17] Fix | Delete
struct vt_mode {
[18] Fix | Delete
char mode; /* vt mode */
[19] Fix | Delete
char waitv; /* if set, hang on writes if not active */
[20] Fix | Delete
short relsig; /* signal to raise on release req */
[21] Fix | Delete
short acqsig; /* signal to raise on acquisition */
[22] Fix | Delete
short frsig; /* unused (set to 0) */
[23] Fix | Delete
};
[24] Fix | Delete
#define VT_GETMODE 0x5601 /* get mode of active vt */
[25] Fix | Delete
#define VT_SETMODE 0x5602 /* set mode of active vt */
[26] Fix | Delete
#define VT_AUTO 0x00 /* auto vt switching */
[27] Fix | Delete
#define VT_PROCESS 0x01 /* process controls switching */
[28] Fix | Delete
#define VT_ACKACQ 0x02 /* acknowledge switch */
[29] Fix | Delete
[30] Fix | Delete
struct vt_stat {
[31] Fix | Delete
unsigned short v_active; /* active vt */
[32] Fix | Delete
unsigned short v_signal; /* signal to send */
[33] Fix | Delete
unsigned short v_state; /* vt bitmask */
[34] Fix | Delete
};
[35] Fix | Delete
#define VT_GETSTATE 0x5603 /* get global vt state info */
[36] Fix | Delete
#define VT_SENDSIG 0x5604 /* signal to send to bitmask of vts */
[37] Fix | Delete
[38] Fix | Delete
#define VT_RELDISP 0x5605 /* release display */
[39] Fix | Delete
[40] Fix | Delete
#define VT_ACTIVATE 0x5606 /* make vt active */
[41] Fix | Delete
#define VT_WAITACTIVE 0x5607 /* wait for vt active */
[42] Fix | Delete
#define VT_DISALLOCATE 0x5608 /* free memory associated to vt */
[43] Fix | Delete
[44] Fix | Delete
struct vt_sizes {
[45] Fix | Delete
unsigned short v_rows; /* number of rows */
[46] Fix | Delete
unsigned short v_cols; /* number of columns */
[47] Fix | Delete
unsigned short v_scrollsize; /* number of lines of scrollback */
[48] Fix | Delete
};
[49] Fix | Delete
#define VT_RESIZE 0x5609 /* set kernel's idea of screensize */
[50] Fix | Delete
[51] Fix | Delete
struct vt_consize {
[52] Fix | Delete
unsigned short v_rows; /* number of rows */
[53] Fix | Delete
unsigned short v_cols; /* number of columns */
[54] Fix | Delete
unsigned short v_vlin; /* number of pixel rows on screen */
[55] Fix | Delete
unsigned short v_clin; /* number of pixel rows per character */
[56] Fix | Delete
unsigned short v_vcol; /* number of pixel columns on screen */
[57] Fix | Delete
unsigned short v_ccol; /* number of pixel columns per character */
[58] Fix | Delete
};
[59] Fix | Delete
#define VT_RESIZEX 0x560A /* set kernel's idea of screensize + more */
[60] Fix | Delete
#define VT_LOCKSWITCH 0x560B /* disallow vt switching */
[61] Fix | Delete
#define VT_UNLOCKSWITCH 0x560C /* allow vt switching */
[62] Fix | Delete
#define VT_GETHIFONTMASK 0x560D /* return hi font mask */
[63] Fix | Delete
[64] Fix | Delete
struct vt_event {
[65] Fix | Delete
unsigned int event;
[66] Fix | Delete
#define VT_EVENT_SWITCH 0x0001 /* Console switch */
[67] Fix | Delete
#define VT_EVENT_BLANK 0x0002 /* Screen blank */
[68] Fix | Delete
#define VT_EVENT_UNBLANK 0x0004 /* Screen unblank */
[69] Fix | Delete
#define VT_EVENT_RESIZE 0x0008 /* Resize display */
[70] Fix | Delete
#define VT_MAX_EVENT 0x000F
[71] Fix | Delete
unsigned int oldev; /* Old console */
[72] Fix | Delete
unsigned int newev; /* New console (if changing) */
[73] Fix | Delete
unsigned int pad[4]; /* Padding for expansion */
[74] Fix | Delete
};
[75] Fix | Delete
[76] Fix | Delete
#define VT_WAITEVENT 0x560E /* Wait for an event */
[77] Fix | Delete
[78] Fix | Delete
struct vt_setactivate {
[79] Fix | Delete
unsigned int console;
[80] Fix | Delete
struct vt_mode mode;
[81] Fix | Delete
};
[82] Fix | Delete
[83] Fix | Delete
#define VT_SETACTIVATE 0x560F /* Activate and set the mode of a console */
[84] Fix | Delete
[85] Fix | Delete
#endif /* _LINUX_VT_H */
[86] Fix | Delete
[87] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function