Merge branch 'master' of git://localhost/acess2
[tpg/acess2.git] / Usermode / Libraries / libc.so_src / stdio_int.h
index ab5b144..c56338c 100644 (file)
@@ -21,6 +21,7 @@
 
 #define FILE_FLAG_EOF          0x0100
 #define FILE_FLAG_LINEBUFFERED 0x1000  // Flush when '\n' encountered
+#define FILE_FLAG_OURBUFFER    0x2000  // Buffer is owned by stdio
 
 #define FILE_FLAG_ALLOC        0x8000  // Internal 'is used' flag
 
@@ -39,6 +40,10 @@ struct sFILE {
        char    *Buffer;
        size_t  BufferPos;      // First unused byte in the buffer (read/write pos essentially)
        size_t  BufferSpace;    // Number of bytes allocated in \a Buffer
+       
+       // open_memstream
+       char    **BufPtr;
+       size_t  *LenPtr;
 };
 
 #endif

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