1991-07-19 15:29:14 +00:00
|
|
|
#include <fcntl.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <sys/file.h>
|
|
|
|
|
1993-09-17 09:08:00 +00:00
|
|
|
#ifndef O_ACCMODE
|
1991-07-19 15:29:14 +00:00
|
|
|
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define SEEK_SET 0
|
|
|
|
#define SEEK_CUR 1
|
|
|
|
|
|
|
|
extern char *malloc();
|
|
|
|
extern void free();
|
|
|
|
|
1991-12-13 05:03:17 +00:00
|
|
|
#include "fopen-same.h"
|