home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************
- * "Irit" - the 3d polygonal solid modeller. *
- * *
- * Written by: Gershon Elber Ver 0.2, Mar. 1990 *
- ******************************************************************************
- * A replacer for the MSDOS functions. *
- *****************************************************************************/
-
- #ifndef __MSDOS__
-
- #ifndef XGENERAL_H /* Define only once. */
- #define XGENERAL_H
-
- #ifndef M_PI
- #define M_PI 3.141592653
- #endif /* M_PI */
-
- #ifndef SYSV
- char *memcpy(VoidPtr Dest, VoidPtr Src, int Len);
- char *strdup(char *s);
- #endif /* SYSV */
-
- #ifdef BSD43
- char *getcwd(char *s, int Len);
- #endif /* BSD43 */
-
- VoidPtr malloc(unsigned int Size);
- void free(char *p);
- char *getenv(char *Name);
-
- /* IBMPC functions emulated in xgeneral.c module: */
- char *searchpath(char *Name);
- int strnicmp(char *s1, char *s2, int n);
- char *strstr(char *s, char *Pattern);
- int stricmp(char *s1, char *s2);
- void movmem(VoidPtr Src, VoidPtr Dest, int Len);
-
- #endif /* XGENERAL_H */
- #endif /* __MSDOS__ */
-