Category : C Source Code
Archive   : POLY3DRS.ZIP
Filename : XGENERAL.H

 
Output of file : XGENERAL.H contained in archive : POLY3DRS.ZIP
/*****************************************************************************
* 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__ */


  3 Responses to “Category : C Source Code
Archive   : POLY3DRS.ZIP
Filename : XGENERAL.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/