Changeset ef8bcc6 in mainline for uspace/lib/libc/include/stdio.h
- Timestamp:
- 2009-06-15T21:46:21Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 953769f
- Parents:
- c07af37
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/stdio.h
rc07af37 ref8bcc6 42 42 #define EOF (-1) 43 43 44 /** Default size for stream I/O buffers */ 45 #define BUFSIZ 4096 46 44 47 #define DEBUG(fmt, ...) \ 45 48 { \ … … 55 58 #define SEEK_END 2 56 59 #endif 60 61 enum _buffer_type { 62 /** No buffering */ 63 _IONBF, 64 /** Line buffering */ 65 _IOLBF, 66 /** Full buffering */ 67 _IOFBF 68 }; 57 69 58 70 typedef struct { … … 74 86 /** Phone to the file provider */ 75 87 int phone; 88 89 /** Buffering type */ 90 enum _buffer_type btype; 91 /** Buffer */ 92 uint8_t *buf; 93 /** Buffer size */ 94 size_t buf_size; 95 /** Buffer I/O pointer */ 96 uint8_t *buf_head; 76 97 } FILE; 77 98 … … 122 143 extern void clearerr(FILE *); 123 144 145 extern void setvbuf(FILE *, void *, int, size_t); 146 124 147 /* Misc file functions */ 125 148 extern int rename(const char *, const char *);
Note:
See TracChangeset
for help on using the changeset viewer.