RBSB.C 504 B

123456789101112131415161718192021222324
  1. /* -rev 05-12-86
  2. * mode function and most of the rest of the system dependent
  3. * stuff for rb.c and sb.c This file is #included so the includer
  4. * can set parameters such as HOWMANY.
  5. */
  6. int iofd = 0; /* File descriptor for ioctls & reads */
  7. /*
  8. * mode(n)
  9. * 2: set a cbreak, XON/XOFF control mode if using Pro-YAM's -g option
  10. * 1: save old tty stat, set raw mode
  11. * 0: restore original tty mode
  12. */
  13. int mode(int n)
  14. {
  15. return 0;
  16. }
  17. int sendbrk()
  18. {
  19. //ioctl(iofd, TCSBRK, 0);
  20. return 0;
  21. }