Category : Recently Uploaded Files
Archive   : SNIP9503.ZIP
Filename : XFILE.H

 
Output of file : XFILE.H contained in archive : SNIP9503.ZIP
/*
** xfile.h -- definitions for fast line buffered files
*/

#ifndef __XFILE_H__
#define __XFILE_H__

struct _xfile {
int fd;
int bufSize;
char *buf;
char *nextChar;
char *lastChar;
};

typedef struct _xfile XFILE;

#include

#if defined(__ZTC__)
#include
#define DOS_OPEN dos_open
#define READ read
#define CLOSE close
#elif defined(__TURBOC__)
#include
#include
#define DOS_OPEN _open
#define READ _read
#define CLOSE _close
#else /* MSC */
#include
#include
#define CLOSE _dos_close
#endif

XFILE *xopen(char const *);
void xclose(XFILE *);
char *xgetline(XFILE *);

#endif /* __XFILE_H__ */


  3 Responses to “Category : Recently Uploaded Files
Archive   : SNIP9503.ZIP
Filename : XFILE.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/