termiosh.inc 2.3 KB

1234567891011121314151617181920212223242526272829
  1. function CCEQ(val,c : cc_t) : boolean;
  2. function cfgetospeed(__termios_p:Ptermios):speed_t;cdecl;external clib name 'cfgetospeed';
  3. function cfgetispeed(__termios_p:Ptermios):speed_t;cdecl;external clib name 'cfgetispeed';
  4. function cfsetospeed(__termios_p:Ptermios; __speed:speed_t):longint;cdecl;external clib name 'cfsetospeed';
  5. function cfsetispeed(__termios_p:Ptermios; __speed:speed_t):longint;cdecl;external clib name 'cfsetispeed';
  6. function cfsetspeed(__termios_p:Ptermios; __speed:speed_t):longint;cdecl;external clib name 'cfsetspeed';
  7. function tcgetattr(__fd:longint; __termios_p:Ptermios):longint;cdecl;external clib name 'tcgetattr';
  8. function tcsetattr(__fd:longint; __optional_actions:longint; __termios_p:Ptermios):longint;cdecl;external clib name 'tcsetattr';
  9. procedure cfmakeraw(__termios_p:Ptermios);cdecl;external clib name 'cfmakeraw';
  10. function tcsendbreak(__fd:longint; __duration:longint):longint;cdecl;external clib name 'tcsendbreak';
  11. function tcdrain(__fd:longint):longint;cdecl;external clib name 'tcdrain';
  12. function tcflush(__fd:longint; __queue_selector:longint):longint;cdecl;external clib name 'tcflush';
  13. function tcflow(__fd:longint; __action:longint):longint;cdecl;external clib name 'tcflow';
  14. function tcgetsid(__fd:longint):__pid_t;cdecl;external clib name 'tcgetsid';
  15. { ---------------------------------------------------------------------
  16. Borland compatibility types
  17. ---------------------------------------------------------------------}
  18. function cfgetospeed(const __termios_p: termios):speed_t;cdecl;external clib name 'cfgetospeed';
  19. function cfgetispeed(const __termios_p: termios):speed_t;cdecl;external clib name 'cfgetispeed';
  20. function cfsetospeed(var __termios_p: termios; __speed:speed_t):longint;cdecl;external clib name 'cfsetospeed';
  21. function cfsetispeed(var __termios_p: termios; __speed:speed_t):longint;cdecl;external clib name 'cfsetispeed';
  22. function cfsetspeed(var __termios_p: termios; __speed:speed_t):longint;cdecl;external clib name 'cfsetspeed';
  23. function tcgetattr(__fd:longint; var __termios_p: termios):longint;cdecl;external clib name 'tcgetattr';
  24. function tcsetattr(__fd:longint; __optional_actions:longint; const __termios_p: termios):longint;cdecl;external clib name 'tcsetattr';
  25. procedure cfmakeraw(var __termios_p: termios);cdecl;external clib name 'cfmakeraw';