perl5.001 patch.1f
[perl.git] / ioctl.pl
1 $TIOCGSIZE = 0x40087468;
2 $TIOCSSIZE = 0x80087467;
3 $IOCPARM_MASK = 0x1fff;
4 $IOCPARM_MAX = 0x200;
5 $IOC_VOID = 0x20000000;
6 $IOC_OUT = 0x40000000;
7 $IOC_IN = 0x80000000;
8 $IOC_INOUT = 0xC0000000;
9 $IOC_DIRMASK = 0xe0000000;
10 $TIOCGETD = 0x40047400;
11 $TIOCSETD = 0x80047401;
12 $TIOCHPCL = 0x20007402;
13 $TIOCMODG = 0x40047403;
14 $TIOCMODS = 0x80047404;
15 $TIOCM_LE = 0001;
16 $TIOCM_DTR = 0002;
17 $TIOCM_RTS = 0004;
18 $TIOCM_ST = 0010;
19 $TIOCM_SR = 0020;
20 $TIOCM_CTS = 0040;
21 $TIOCM_CAR = 0100;
22 $TIOCM_CD = 0x40;
23 $TIOCM_RNG = 0200;
24 $TIOCM_RI = 0x80;
25 $TIOCM_DSR = 0400;
26 $TIOCGETP = 0x40067408;
27 $TIOCSETP = 0x80067409;
28 $TIOCSETN = 0x8006740A;
29 $TIOCEXCL = 0x2000740D;
30 $TIOCNXCL = 0x2000740E;
31 $TIOCFLUSH = 0x80047410;
32 $TIOCSETC = 0x80067411;
33 $TIOCGETC = 0x40067412;
34 $TANDEM = 0x00000001;
35 $CBREAK = 0x00000002;
36 $LCASE = 0x00000004;
37 $ECHO = 0x00000008;
38 $CRMOD = 0x00000010;
39 $RAW = 0x00000020;
40 $ODDP = 0x00000040;
41 $EVENP = 0x00000080;
42 $ANYP = 0x000000c0;
43 $NLDELAY = 0x00000300;
44 $NL0 = 0x00000000;
45 $NL1 = 0x00000100;
46 $NL2 = 0x00000200;
47 $NL3 = 0x00000300;
48 $TBDELAY = 0x00000c00;
49 $TAB0 = 0x00000000;
50 $TAB1 = 0x00000400;
51 $TAB2 = 0x00000800;
52 $XTABS = 0x00000c00;
53 $CRDELAY = 0x00003000;
54 $CR0 = 0x00000000;
55 $CR1 = 0x00001000;
56 $CR2 = 0x00002000;
57 $CR3 = 0x00003000;
58 $VTDELAY = 0x00004000;
59 $FF0 = 0x00000000;
60 $FF1 = 0x00004000;
61 $BSDELAY = 0x00008000;
62 $BS0 = 0x00000000;
63 $BS1 = 0x00008000;
64 $ALLDELAY = 0xFF00;
65 $CRTBS = 0x00010000;
66 $PRTERA = 0x00020000;
67 $CRTERA = 0x00040000;
68 $TILDE = 0x00080000;
69 $MDMBUF = 0x00100000;
70 $LITOUT = 0x00200000;
71 $TOSTOP = 0x00400000;
72 $FLUSHO = 0x00800000;
73 $NOHANG = 0x01000000;
74 $L001000 = 0x02000000;
75 $CRTKIL = 0x04000000;
76 $PASS8 = 0x08000000;
77 $CTLECH = 0x10000000;
78 $PENDIN = 0x20000000;
79 $DECCTQ = 0x40000000;
80 $NOFLSH = 0x80000000;
81 $TIOCLBIS = 0x8004747F;
82 $TIOCLBIC = 0x8004747E;
83 $TIOCLSET = 0x8004747D;
84 $TIOCLGET = 0x4004747C;
85 $LCRTBS = 0x1;
86 $LPRTERA = 0x2;
87 $LCRTERA = 0x4;
88 $LTILDE = 0x8;
89 $LMDMBUF = 0x10;
90 $LLITOUT = 0x20;
91 $LTOSTOP = 0x40;
92 $LFLUSHO = 0x80;
93 $LNOHANG = 0x100;
94 $LCRTKIL = 0x400;
95 $LPASS8 = 0x800;
96 $LCTLECH = 0x1000;
97 $LPENDIN = 0x2000;
98 $LDECCTQ = 0x4000;
99 $LNOFLSH = 0xFFFF8000;
100 $TIOCSBRK = 0x2000747B;
101 $TIOCCBRK = 0x2000747A;
102 $TIOCSDTR = 0x20007479;
103 $TIOCCDTR = 0x20007478;
104 $TIOCGPGRP = 0x40047477;
105 $TIOCSPGRP = 0x80047476;
106 $TIOCSLTC = 0x80067475;
107 $TIOCGLTC = 0x40067474;
108 $TIOCOUTQ = 0x40047473;
109 $TIOCSTI = 0x80017472;
110 $TIOCNOTTY = 0x20007471;
111 $TIOCPKT = 0x80047470;
112 $TIOCPKT_DATA = 0x00;
113 $TIOCPKT_FLUSHREAD = 0x01;
114 $TIOCPKT_FLUSHWRITE = 0x02;
115 $TIOCPKT_STOP = 0x04;
116 $TIOCPKT_START = 0x08;
117 $TIOCPKT_NOSTOP = 0x10;
118 $TIOCPKT_DOSTOP = 0x20;
119 $TIOCSTOP = 0x2000746F;
120 $TIOCSTART = 0x2000746E;
121 $TIOCMSET = 0x8004746D;
122 $TIOCMBIS = 0x8004746C;
123 $TIOCMBIC = 0x8004746B;
124 $TIOCMGET = 0x4004746A;
125 $TIOCREMOTE = 0x80047469;
126 $TIOCGWINSZ = 0x40087468;
127 $TIOCSWINSZ = 0x80087467;
128 $TIOCUCNTL = 0x80047466;
129 $TIOCSSOFTC = 0x80047465;
130 $TIOCGSOFTC = 0x40047464;
131 $TIOCSCARR = 0x80047463;
132 $TIOCWCARR = 0x20007462;
133 $OTTYDISC = 0;
134 $NETLDISC = 1;
135 $NTTYDISC = 2;
136 $TABLDISC = 3;
137 $SLIPDISC = 4;
138 $FIOCLEX = 0x20006601;
139 $FIONCLEX = 0x20006602;
140 $FIONREAD = 0x4004667F;
141 $FIONBIO = 0x8004667E;
142 $FIOASYNC = 0x8004667D;
143 $FIOSETOWN = 0x8004667C;
144 $FIOGETOWN = 0x4004667B;
145 $SIOCSHIWAT = 0x80047300;
146 $SIOCGHIWAT = 0x40047301;
147 $SIOCSLOWAT = 0x80047302;
148 $SIOCGLOWAT = 0x40047303;
149 $SIOCATMARK = 0x40047307;
150 $SIOCSPGRP = 0x80047308;
151 $SIOCGPGRP = 0x40047309;
152 $SIOCADDRT = 0x8030720A;
153 $SIOCDELRT = 0x8030720B;
154 $SIOCSIFADDR = 0x8020690C;
155 $SIOCGIFADDR = 0xC020690D;
156 $SIOCSIFDSTADDR = 0x8020690E;
157 $SIOCGIFDSTADDR = 0xC020690F;
158 $SIOCSIFFLAGS = 0x80206910;
159 $SIOCGIFFLAGS = 0xC0206911;
160 $SIOCGIFBRDADDR = 0xC0206912;
161 $SIOCSIFBRDADDR = 0x80206913;
162 $SIOCGIFCONF = 0xC0086914;
163 $SIOCGIFNETMASK = 0xC0206915;
164 $SIOCSIFNETMASK = 0x80206916;
165 $SIOCGIFMETRIC = 0xC0206917;
166 $SIOCSIFMETRIC = 0x80206918;
167 $SIOCSARP = 0x8024691E;
168 $SIOCGARP = 0xC024691F;
169 $SIOCDARP = 0x80246920;