/****************************************************************************** * * * sortfile.h version 1.0 of 22 Januari 1989 (C) L.J.M. de Wit 1989 * * * * This software may be used and distributed freely if not used commercially * * and the originator (me) is mentioned in the source (just leave this 9 line * * header intact). * * * ****************************************************************************** * * sortfile.h: external definitions for the sortfile stdio package. * * To enable the speeded up std I/O routines, the BESTIO symbol must be * #define'd (with -dBESTIO in the LC1 compilation phase when using Lattice C) * and sortfile used when linking. * To use the standard stdio package, don't define BESTIO and don't link with * sortfile. */ #ifdef BESTIO #define fopen stopen #define fgets stgets #define fputs stputs #define fclose stclose #define setbuffer stbuffer extern FILE *stopen(); extern char *stgets(); extern void stputs(); extern void stbuffer(); extern int stclose(); extern void bestio(); extern void exit(); #else not BESTIO #define bestio(s) #endif BESTIO