Changeset 7c3fb9b in mainline for uspace/lib/posix/src/stdio.c
- Timestamp:
- 2018-05-17T08:29:01Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/src/stdio.c
rfac0ac7 r7c3fb9b 126 126 ++cnt; 127 127 if (c == delimiter) { 128 /* Delimiter was just stored. Provide EOF as the next 128 /* 129 * Delimiter was just stored. Provide EOF as the next 129 130 * character - it will be masked as NUL and output string 130 * will be properly terminated. */ 131 * will be properly terminated. 132 */ 131 133 c = EOF; 132 134 } else { 133 /* Neither delimiter nor EOF were encountered. Just fetch 134 * the next character from the stream. */ 135 /* 136 * Neither delimiter nor EOF were encountered. Just fetch 137 * the next character from the stream. 138 */ 135 139 c = fgetc(stream); 136 140 }
Note:
See TracChangeset
for help on using the changeset viewer.