Changeset a35b458 in mainline for uspace/lib/fmtutil/fmtutil.c
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/fmtutil/fmtutil.c
r3061bc1 ra35b458 167 167 return EINVAL; 168 168 } 169 169 170 170 return EOK; 171 171 } … … 188 188 size_t line_len = 0; 189 189 size_t pos = 0; 190 190 191 191 /* 192 192 * Invariants: … … 194 194 * * line_start <= last_word_end <= word_start <= pos 195 195 */ 196 196 197 197 while (wstr[pos] != 0) { 198 198 /* Skip spaces and process newlines */
Note:
See TracChangeset
for help on using the changeset viewer.