home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / e / emxdev8f.zip / IOCTL.H < prev    next >
C/C++ Source or Header  |  1992-11-18  |  810b  |  44 lines

  1. /* ioctl.h (emx+gcc) */
  2.  
  3. #if !defined (_SYS_IOCTL_H)
  4. #define _SYS_IOCTL_H
  5.  
  6. #if defined (__cplusplus)
  7. extern "C" {
  8. #endif
  9.  
  10. #if !defined (TCGETA)
  11. #define TCGETA      1
  12. #define TCSETA      2
  13. #define TCSETAW     3
  14. #define TCSETAF     4
  15. #define TCFLSH      5
  16. #endif
  17.  
  18. #if !defined (FIONREAD)
  19. #define FIONREAD   16
  20. #endif
  21.  
  22. #if !defined (FGETHTYPE)
  23. #define FGETHTYPE  32
  24. #endif
  25.  
  26. #if !defined (HT_FILE)
  27. #define HT_FILE         0
  28. #define HT_UPIPE        1
  29. #define HT_NPIPE        2
  30. #define HT_DEV_OTHER    3
  31. #define HT_DEV_NUL      4
  32. #define HT_DEV_CON      5
  33. #define HT_DEV_CLK      7
  34. #define HT_ISDEV(n)     ((n) >= HT_DEV_OTHER && (n) <= HT_DEV_CLK)
  35. #endif
  36.  
  37. int ioctl (int handle, int request, ...);
  38.  
  39. #if defined (__cplusplus)
  40. }
  41. #endif
  42.  
  43. #endif /* !defined (_SYS_IOCTL_H) */
  44.