home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / IRIT / POLY3DRS.ZIP / XGENERAL.H < prev   
Encoding:
C/C++ Source or Header  |  1990-05-05  |  831 b   |  33 lines

  1. /*****************************************************************************
  2. * A replacer for the MSDOS functions.                         *
  3. *                                         *
  4. * Written by:  Gershon Elber                Ver 0.1, Apr. 1990   *
  5. *****************************************************************************/
  6.  
  7. #ifndef __MSDOS__
  8.  
  9. #ifndef    XGENERAL_H                    /* Define only once */
  10. #define    XGENERAL_H
  11.  
  12. #ifndef M_PI
  13. #define M_PI    3.141592653
  14. #endif /* M_PI */
  15.  
  16. VoidPtr malloc(unsigned int Size);
  17. void free(char *p);
  18. char *getenv(char *Name);
  19.  
  20. char *searchpath(char *Name);
  21. int strnicmp(char *s1, char *s2, int n);
  22. char *strstr(char *s, char *Pattern);
  23. int stricmp(char *s1, char *s2);
  24.  
  25. #ifndef SYSV
  26. char *strdup(char *s);
  27. #endif /* SYSV */
  28.  
  29. void movmem(VoidPtr Src, VoidPtr Dest, int Len);
  30.  
  31. #endif /* XGENERAL_H */
  32. #endif /* __MSDOS__ */
  33.