ioctls.h revision 4e468ed2eb86a2406e14f1eca82072ee501d05fd
1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _ASM_X86_IOCTLS_H
13#define _ASM_X86_IOCTLS_H
14
15#include <asm/ioctl.h>
16
17#define TCGETS 0x5401
18#define TCSETS 0x5402
19#define TCSETSW 0x5403
20#define TCSETSF 0x5404
21#define TCGETA 0x5405
22#define TCSETA 0x5406
23#define TCSETAW 0x5407
24#define TCSETAF 0x5408
25#define TCSBRK 0x5409
26#define TCXONC 0x540A
27#define TCFLSH 0x540B
28#define TIOCEXCL 0x540C
29#define TIOCNXCL 0x540D
30#define TIOCSCTTY 0x540E
31#define TIOCGPGRP 0x540F
32#define TIOCSPGRP 0x5410
33#define TIOCOUTQ 0x5411
34#define TIOCSTI 0x5412
35#define TIOCGWINSZ 0x5413
36#define TIOCSWINSZ 0x5414
37#define TIOCMGET 0x5415
38#define TIOCMBIS 0x5416
39#define TIOCMBIC 0x5417
40#define TIOCMSET 0x5418
41#define TIOCGSOFTCAR 0x5419
42#define TIOCSSOFTCAR 0x541A
43#define FIONREAD 0x541B
44#define TIOCINQ FIONREAD
45#define TIOCLINUX 0x541C
46#define TIOCCONS 0x541D
47#define TIOCGSERIAL 0x541E
48#define TIOCSSERIAL 0x541F
49#define TIOCPKT 0x5420
50#define FIONBIO 0x5421
51#define TIOCNOTTY 0x5422
52#define TIOCSETD 0x5423
53#define TIOCGETD 0x5424
54#define TCSBRKP 0x5425
55
56#define TIOCSBRK 0x5427
57#define TIOCCBRK 0x5428
58#define TIOCGSID 0x5429
59#define TCGETS2 _IOR('T',0x2A, struct termios2)
60#define TCSETS2 _IOW('T',0x2B, struct termios2)
61#define TCSETSW2 _IOW('T',0x2C, struct termios2)
62#define TCSETSF2 _IOW('T',0x2D, struct termios2)
63#define TIOCGPTN _IOR('T',0x30, unsigned int)
64#define TIOCSPTLCK _IOW('T',0x31, int)
65
66#define FIONCLEX 0x5450
67#define FIOCLEX 0x5451
68#define FIOASYNC 0x5452
69#define TIOCSERCONFIG 0x5453
70#define TIOCSERGWILD 0x5454
71#define TIOCSERSWILD 0x5455
72#define TIOCGLCKTRMIOS 0x5456
73#define TIOCSLCKTRMIOS 0x5457
74#define TIOCSERGSTRUCT 0x5458
75#define TIOCSERGETLSR 0x5459
76#define TIOCSERGETMULTI 0x545A
77#define TIOCSERSETMULTI 0x545B
78
79#define TIOCMIWAIT 0x545C
80#define TIOCGICOUNT 0x545D
81#define TIOCGHAYESESP 0x545E
82#define TIOCSHAYESESP 0x545F
83#define FIOQSIZE 0x5460
84
85#define TIOCPKT_DATA 0
86#define TIOCPKT_FLUSHREAD 1
87#define TIOCPKT_FLUSHWRITE 2
88#define TIOCPKT_STOP 4
89#define TIOCPKT_START 8
90#define TIOCPKT_NOSTOP 16
91#define TIOCPKT_DOSTOP 32
92
93#define TIOCSER_TEMT 0x01
94
95#endif
96