DEADSOFTWARE

synchronized with https://github.com/aixp/BlackBox
[bbcp.git] / BlackBox / _OpenBSD_ / Lin / Mod / Ioctl.txt
1 MODULE LinIoctl ["libc.so.89.2"];
3 (*
4 OpenBSD 6.0
5 i386
6 *)
8 CONST
9 TIOCM_LE* = {0}; (* line enable *)
10 TIOCM_DTR* = {1}; (* data terminal ready *)
11 TIOCM_RTS* = {2}; (* request to send *)
12 TIOCM_ST* = {3}; (* secondary transmit *)
13 TIOCM_SR* = {4}; (* secondary receive *)
14 TIOCM_CTS* = {5}; (* clear to send *)
15 TIOCM_CAR* = {6}; (* carrier detect *)
16 TIOCM_RNG* = {7}; (* ring *)
17 TIOCM_DSR* = {8}; (* data set ready *)
19 FIOCLEX* = 536897025;
20 FIONCLEX* = 536897026;
21 FIONREAD* = 1074030207;
22 FIONBIO* = -2147195266;
23 FIOASYNC* = -2147195267;
24 FIOSETOWN* = -2147195268;
25 FIOGETOWN* = 1074030203;
26 TIOCMGET* = 1074033770;
27 TIOCMSET* = -2147191699;
28 TIOCEXCL* = 536900621;
29 TIOCNXCL* = 536900622;
30 TIOCFLUSH* = -2147191792;
31 TIOCDRAIN* = 536900702;
32 TIOCOUTQ* = 1074033779;
33 TIOCSBRK* = 536900731;
34 TIOCCBRK* = 536900730;
35 TIOCSDTR* = 536900729;
36 TIOCCDTR* = 536900728;
37 TIOCMBIS* = -2147191700;
38 TIOCMBIC* = -2147191701;
40 PROCEDURE [ccall] ioctl0* ["ioctl"] (d: INTEGER; req: INTEGER): INTEGER;
41 PROCEDURE [ccall] ioctl1* ["ioctl"] (d: INTEGER; req: INTEGER; VAR arg: INTEGER): INTEGER;
43 END LinIoctl.