Category : C Source Code
Archive   : ADVENTUR.ZIP
Filename : STDIO.H
*/
#ifdef _C86_BIG
#define NULL (0L)
#else
#define NULL 0
#endif
#define EOF (-1) /* standard end of file */
#define EOS '\0' /* standard end of string */
#define AREAD 0 /* ascii read */
#define AWRITE 1 /* ascii write */
#define AUPDATE 2 /* ascii update (take care with this one) */
#define BREAD 4 /* binary update */
#define BWRITE 5 /* binary write */
#define BUPDATE 6 /* binary update */
typedef char FILE;
#define getchar() fgetc(stdin)
#define getc(x) fgetc(x)
#define putchar(x) fputc(x,stdout)
#define putc(x,y) fputc(x,y)
#define ungetch(c) ungetc(c,stdin)
/* definition for setjmp and longjmp
*/
#ifdef _C86_BIG
typedef int jmp_buf[4];
#else
typedef int jmp_buf[3];
#endif
extern FILE *stdin, *stdout, *stderr;
/* end of standard header file
*/
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
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/