Changes in uspace/lib/libc/include/stdio.h [facebd56:c62d2e1] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/stdio.h
rfacebd56 rc62d2e1 75 75 }; 76 76 77 enum _buffer_state {78 /** Buffer is empty */79 _bs_empty,80 81 /** Buffer contains data to be written */82 _bs_write,83 84 /** Buffer contains prefetched data for reading */85 _bs_read86 };87 88 77 typedef struct { 89 78 /** Linked list pointer. */ … … 105 94 int phone; 106 95 107 /**108 * Non-zero if the stream needs sync on fflush(). XXX change109 * console semantics so that sync is not needed.110 */111 int need_sync;112 113 96 /** Buffering type */ 114 97 enum _buffer_type btype; 115 116 98 /** Buffer */ 117 99 uint8_t *buf; 118 119 100 /** Buffer size */ 120 101 size_t buf_size; 121 122 /** Buffer state */123 enum _buffer_state buf_state;124 125 102 /** Buffer I/O pointer */ 126 103 uint8_t *buf_head; 127 128 /** Points to end of occupied space when in read mode. */129 uint8_t *buf_tail;130 104 } FILE; 131 105
Note:
See TracChangeset
for help on using the changeset viewer.