|
|
1.1 ! root 1: #ifndef SYSTEM_H ! 2: #define SYSTEM_H ! 3: ! 4: #ifdef UNIX ! 5: #if !defined(HAVE_UNISTD_H) && !defined(MACH) && !defined(_BSD) ! 6: #define HAVE_UNISTD_H ! 7: #endif ! 8: ! 9: #ifdef HAVE_UNISTD_H ! 10: #include <unistd.h> ! 11: #else ! 12: #include <stdio.h> ! 13: #include <sys/types.h> ! 14: #endif ! 15: ! 16: int getch(); ! 17: int kbhit(); ! 18: ! 19: /* replacement function for obsolete clock(), just provides random data */ ! 20: long Clock(); ! 21: ! 22: #endif /* UNIX */ ! 23: ! 24: #if defined(UNIX) || defined(AMIGA) || defined(VMS) ! 25: #define NEEDBREAK ! 26: void ttycbreak(); ! 27: void ttynorm(); ! 28: #endif ! 29: ! 30: #if !defined(MSDOS) && !defined(ATARI) ! 31: char *strlwr(char *); ! 32: #endif ! 33: ! 34: #endif /* SYSTEM_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.