Changeset 858fc90 in mainline for uspace/lib/libc/include/stdio.h
- Timestamp:
- 2010-03-15T19:35:25Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6092b56e
- Parents:
- 92307f1 (diff), 4684368 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/include/stdio.h
r92307f1 r858fc90 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_read 86 }; 87 77 88 typedef struct { 78 89 /** Linked list pointer. */ … … 94 105 int phone; 95 106 107 /** 108 * Non-zero if the stream needs sync on fflush(). XXX change 109 * console semantics so that sync is not needed. 110 */ 111 int need_sync; 112 96 113 /** Buffering type */ 97 114 enum _buffer_type btype; 115 98 116 /** Buffer */ 99 117 uint8_t *buf; 118 100 119 /** Buffer size */ 101 120 size_t buf_size; 121 122 /** Buffer state */ 123 enum _buffer_state buf_state; 124 102 125 /** Buffer I/O pointer */ 103 126 uint8_t *buf_head; 127 128 /** Points to end of occupied space when in read mode. */ 129 uint8_t *buf_tail; 104 130 } FILE; 105 131
Note:
See TracChangeset
for help on using the changeset viewer.