home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************
- * A replacer for the MSDOS functions. *
- * *
- * Written by: Gershon Elber Ver 0.1, Apr. 1990 *
- *****************************************************************************/
-
- #ifndef __MSDOS__
-
- #ifndef XGENERAL_H /* Define only once */
- #define XGENERAL_H
-
- #ifndef M_PI
- #define M_PI 3.141592653
- #endif /* M_PI */
-
- VoidPtr malloc(unsigned int Size);
- void free(char *p);
- char *getenv(char *Name);
-
- char *searchpath(char *Name);
- int strnicmp(char *s1, char *s2, int n);
- char *strstr(char *s, char *Pattern);
- int stricmp(char *s1, char *s2);
-
- #ifndef SYSV
- char *strdup(char *s);
- #endif /* SYSV */
-
- void movmem(VoidPtr Src, VoidPtr Dest, int Len);
-
- #endif /* XGENERAL_H */
- #endif /* __MSDOS__ */
-