Changeset ed88c8e in mainline for kernel/generic/src/printf/vprintf.c
- Timestamp:
- 2018-05-29T13:25:07Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc0b2a8
- Parents:
- a57fa32
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-28 17:24:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-29 13:25:07)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/printf/vprintf.c
ra57fa32 red88c8e 47 47 48 48 while (offset < size) { 49 put char(str_decode(str, &offset, size));49 putwchar(str_decode(str, &offset, size)); 50 50 chars++; 51 51 } … … 60 60 61 61 while (offset < size) { 62 put char(str[chars]);62 putwchar(str[chars]); 63 63 chars++; 64 64 offset += sizeof(wchar_t); … … 75 75 76 76 while ((uc = str_decode(str, &offset, STR_NO_LIMIT)) != 0) { 77 put char(uc);77 putwchar(uc); 78 78 chars++; 79 79 } 80 80 81 put char('\n');81 putwchar('\n'); 82 82 return chars; 83 83 }
Note:
See TracChangeset
for help on using the changeset viewer.