home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / varia / pgp / pgpamiga / source / system.h < prev    next >
C/C++ Source or Header  |  1994-06-08  |  735b  |  43 lines

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