1992-03-24 23:58:58 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <fcntl.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/stat.h>
|
|
|
|
#include <malloc.h>
|
|
|
|
|
1993-04-20 06:11:51 +00:00
|
|
|
#define HOST_IRIX4
|
|
|
|
|
1992-03-24 23:58:58 +00:00
|
|
|
#if 0
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <sys/file.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined (O_ACCMODE)
|
|
|
|
#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if !defined (SEEK_SET)
|
|
|
|
#define SEEK_SET 0
|
|
|
|
#define SEEK_CUR 1
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "fopen-same.h"
|