Commit | Line | Data |
---|---|---|
60ac749c ILT |
1 | /* i386 AIX 1.2.x host system */ |
2 | /* From Minh Tran-Le <TRANLE@INTELLICORP.COM>. */ | |
3 | ||
f751f474 | 4 | #include <ansidecl.h> |
60ac749c ILT |
5 | #include <fcntl.h> |
6 | #include <errno.h> | |
7 | #include <stdio.h> | |
8 | #include <sys/types.h> | |
9 | #include <sys/stat.h> | |
10 | #include <utime.h> | |
11 | #include <ctype.h> | |
12 | #include <string.h> | |
13 | #include <sys/file.h> | |
71363c41 | 14 | #include <stdlib.h> |
60ac749c | 15 | |
c5652bff | 16 | #ifndef O_ACCMODE |
60ac749c ILT |
17 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) |
18 | #endif | |
19 | #define SEEK_SET 0 | |
20 | #define SEEK_CUR 1 | |
21 | ||
22 | #define POSIX_UTIME | |
23 | ||
e49d5379 JG |
24 | extern void abort PARAMS ((void)); |
25 | extern int close PARAMS ((int)); | |
26 | extern void exit PARAMS ((int)); | |
27 | extern int fclose PARAMS ((FILE*)); | |
28 | extern void free PARAMS ((PTR)); | |
29 | extern int fseek PARAMS ((FILE*, long, int)); | |
e49d5379 | 30 | extern void perror PARAMS ((CONST char *)); |
60ac749c ILT |
31 | |
32 | extern char *getenv(); | |
33 | extern int chmod(); | |
34 | extern int fstat(); | |
35 | extern int stat(); | |
36 | ||
37 | extern char *ctime(); | |
38 | extern int _flsbuf(); | |
39 | extern int fclose(); | |
40 | extern int utimes(); | |
41 | extern int vfprintf(); | |
42 | extern long atol(); | |
43 | extern int fputc(); | |
44 | extern int unlink(); | |
45 | ||
60ac749c | 46 | #include "fopen-same.h" |