1991-09-12 21:13:48 +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>
|
|
|
|
|
|
|
|
#define SEEK_SET 0
|
|
|
|
#define SEEK_CUR 1
|
|
|
|
|
1993-09-17 09:08:00 +00:00
|
|
|
#ifndef O_ACCMODE
|
1991-09-12 21:13:48 +00:00
|
|
|
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
extern char *malloc();
|
|
|
|
extern void free();
|
|
|
|
|
1991-12-13 05:03:17 +00:00
|
|
|
#include "fopen-same.h"
|