1993-07-30 18:17:38 +00:00
|
|
|
#include <ansidecl.h>
|
1992-08-27 22:11:48 +00:00
|
|
|
#include <unistd.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <time.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <sys/file.h>
|
1993-09-17 09:08:00 +00:00
|
|
|
#ifndef O_ACCMODE
|
1992-08-27 22:11:48 +00:00
|
|
|
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
|
|
|
#endif
|
|
|
|
|
1993-09-17 09:08:00 +00:00
|
|
|
#ifndef DONTDECLARE_MALLOC
|
1993-08-03 06:36:30 +00:00
|
|
|
extern PTR malloc PARAMS ((unsigned));
|
|
|
|
extern PTR realloc PARAMS ((PTR, unsigned));
|
1992-08-27 22:11:48 +00:00
|
|
|
#endif
|
1993-08-03 06:36:30 +00:00
|
|
|
extern int abort PARAMS ((void));
|
|
|
|
extern int free PARAMS ((PTR));
|
|
|
|
extern void bcopy PARAMS ((char*, char*, int));
|
|
|
|
extern void exit PARAMS ((int));
|
|
|
|
extern void bzero PARAMS ((char *, int));
|
1992-08-27 22:11:48 +00:00
|
|
|
extern int strtol();
|
|
|
|
#define NO_STDARG 1
|
|
|
|
|
|
|
|
#include "fopen-same.h"
|