1993-09-17 09:08:00 +00:00
|
|
|
#include <stddef.h>
|
1991-04-15 15:29:40 +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>
|
1991-10-11 10:41:22 +00:00
|
|
|
#include <stdlib.h> /* for malloc() */
|
|
|
|
|
1993-09-17 09:08:00 +00:00
|
|
|
#ifndef O_ACCMODE
|
1991-04-15 15:29:40 +00:00
|
|
|
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
|
|
|
#endif
|
|
|
|
#define SEEK_SET 0
|
|
|
|
#define SEEK_CUR 1
|
|
|
|
|
1991-12-13 05:03:17 +00:00
|
|
|
#include "fopen-same.h"
|