Commit | Line | Data |
---|---|---|
a3bb31a0 SC |
1 | #include <fcntl.h> |
2 | #include <errno.h> | |
3 | #include <stdio.h> | |
4 | #include <sys/types.h> | |
5 | #include <sys/stat.h> | |
6 | #include <ctype.h> | |
7 | #include <string.h> | |
8 | #include <sys/file.h> | |
9 | #ifndef O_ACCMODE | |
10 | #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR) | |
11 | #endif | |
12 | #define SEEK_SET 0 | |
13 | #define SEEK_CUR 1 | |
14 | ||
15 | /* EXACT TYPES */ | |
16 | typedef char int8e_type; | |
17 | typedef unsigned char uint8e_type; | |
18 | typedef short int16e_type; | |
19 | typedef unsigned short uint16e_type; | |
20 | typedef int int32e_type; | |
21 | typedef unsigned int uint32e_type; | |
22 | ||
23 | /* CORRECT SIZE OR GREATER */ | |
24 | typedef char int8_type; | |
25 | typedef unsigned char uint8_type; | |
26 | typedef short int16_type; | |
27 | typedef unsigned short uint16_type; | |
28 | typedef int int32_type; | |
29 | typedef unsigned int uint32_type; |