Changeset 8565a42 in mainline for boot/generic/src/vprintf.c
- Timestamp:
- 2018-03-02T20:34:50Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a1a81f69, d5e5fd1
- Parents:
- 3061bc1 (diff), 34e1206 (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. - git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:34:50)
- git-committer:
- GitHub <noreply@…> (2018-03-02 20:34:50)
- File:
-
- 1 edited
-
boot/generic/src/vprintf.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
boot/generic/src/vprintf.c
r3061bc1 r8565a42 40 40 size_t offset = 0; 41 41 size_t chars = 0; 42 42 43 43 while (offset < size) { 44 44 putchar(str_decode(str, &offset, size)); 45 45 chars++; 46 46 } 47 47 48 48 return chars; 49 49 } … … 54 54 size_t chars = 0; 55 55 wchar_t uc; 56 56 57 57 while ((uc = str_decode(str, &offset, STR_NO_LIMIT)) != 0) { 58 58 putchar(uc); 59 59 chars++; 60 60 } 61 61 62 62 return chars; 63 63 } … … 69 69 NULL 70 70 }; 71 71 72 72 int ret = printf_core(fmt, &ps, ap); 73 73 74 74 return ret; 75 75 }
Note:
See TracChangeset
for help on using the changeset viewer.
