5bfbf986b49ecee9669b2e8160ee58c2946b26d4
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / stdio_int.h
1 /*
2  * AcessOS Standard C Library
3  * SDTIO_INT.H
4  * Configuration Options
5  */
6 #ifndef _STDIO_INT_H
7 # define _STDIO_INT_H
8
9 // === CONSTANTS ===
10 #define FILE_FLAG_MODE_MASK     0x07
11 #define FILE_FLAG_MODE_READ             0x01
12 #define FILE_FLAG_MODE_WRITE    0x02
13 #define FILE_FLAG_MODE_EXEC             0x03
14 #define FILE_FLAG_MODE_APPEND   0x04
15 #define FILE_FLAG_M_EXT         0x10
16
17 // === TYPES ===
18 struct sFILE {
19          int    FD;
20          int    Flags;
21         #if DEBUG_BUILD
22         char    *FileName;
23         #endif
24         #if STDIO_LOCAL_BUFFER
25         char    *Buffer;
26         Uint64  BufferStart;
27          int    BufferSize;
28         #endif
29 };
30
31 #endif

UCC git Repository :: git.ucc.asn.au