home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / utilities / cli / pgp2 / src / h / system < prev    next >
Encoding:
Text File  |  1995-03-11  |  747 b   |  44 lines

  1. #ifndef SYSTEM_H
  2. #define SYSTEM_H
  3.  
  4. #ifdef AMIGA
  5. int AmigaRequestString(char *, int, int);
  6. extern char *requesterdesc;
  7. #endif
  8.  
  9. #ifdef UNIX
  10. #if !defined(HAVE_UNISTD_H) && !defined(MACH) && !defined(_BSD)
  11. #define HAVE_UNISTD_H
  12. #endif
  13.  
  14. #ifdef HAVE_UNISTD_H
  15. #include <unistd.h>
  16. #else
  17. #include <stdio.h>
  18. #include <sys/types.h>
  19. #endif
  20.  
  21. int getch();
  22. int kbhit();
  23.  
  24. /* replacement function for obsolete clock(), just provides random data */
  25. long Clock();
  26.  
  27. #endif /* UNIX */
  28.  
  29. #if defined(UNIX) || defined(AMIGA) || defined(VMS)
  30. void ttycbreak();
  31. void ttynorm();
  32. #else
  33. #define ttycbreak()    /* nothing */
  34. #define ttynorm()    /* nothing */
  35. #endif
  36.  
  37. #if !defined(MSDOS) && !defined(ATARI)
  38. char *strlwr(char *);
  39. #endif
  40.  
  41. void breakHandler(int);
  42.  
  43. #endif /* SYSTEM_H */
  44.