source:
branches/libc-0.6/src/emx/include/sys/ioctl.h
Last change on this file was 183, checked in by , 22 years ago | |
---|---|
|
|
File size: 1.1 KB |
Line | |
---|---|
1 | /* ioctl.h (emx+gcc) */ |
2 | |
3 | #ifndef _SYS_IOCTL_H |
4 | #define _SYS_IOCTL_H |
5 | |
6 | #if defined (__cplusplus) |
7 | extern "C" { |
8 | #endif |
9 | |
10 | #include <sys/ioccom.h> |
11 | #include <sys/sockio.h> |
12 | #include <sys/filio.h> |
13 | |
14 | #if !defined (TCGETA) |
15 | #define TCGETA 1 |
16 | #define TCSETA 2 |
17 | #define TCSETAW 3 |
18 | #define TCSETAF 4 |
19 | #define TCFLSH 5 |
20 | #define TCSBRK 6 |
21 | #define TCXONC 7 |
22 | #endif |
23 | |
24 | #define _TCGA 8 /* Used internally for tcgetattr() */ |
25 | #define _TCSANOW 9 /* Used internally for tcsetattr() */ |
26 | #define _TCSADRAIN 10 /* Used internally for tcsetattr() */ |
27 | #define _TCSAFLUSH 11 /* Used internally for tcsetattr() */ |
28 | |
29 | #if !defined (FGETHTYPE) |
30 | #define FGETHTYPE 32 |
31 | #endif |
32 | |
33 | #if !defined (HT_FILE) |
34 | #define HT_FILE 0 |
35 | #define HT_UPIPE 1 |
36 | #define HT_NPIPE 2 |
37 | #define HT_DEV_OTHER 3 |
38 | #define HT_DEV_NUL 4 |
39 | #define HT_DEV_CON 5 |
40 | #define HT_DEV_CLK 7 |
41 | #define HT_SOCKET 8 |
42 | #define HT_ISDEV(n) ((n) >= HT_DEV_OTHER && (n) <= HT_DEV_CLK) |
43 | #endif |
44 | |
45 | #if defined (__cplusplus) |
46 | } |
47 | #endif |
48 | |
49 | #endif /* not _SYS_IOCTL_H */ |
Note:
See TracBrowser
for help on using the repository browser.