Changes in uspace/app/bdsh/cmds/modules/printf/printf.c [28a5ebd:09ab0a9a] in mainline
- File:
-
- 1 edited
-
uspace/app/bdsh/cmds/modules/printf/printf.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/printf/printf.c
r28a5ebd r09ab0a9a 68 68 * @param arg string with data to print. 69 69 */ 70 static int print_arg( char32_t ch, const char *arg)70 static int print_arg(wchar_t ch, const char *arg) 71 71 { 72 72 switch (ch) { … … 93 93 * @param ch Control character. 94 94 */ 95 static int process_ctl( char32_t ch)95 static int process_ctl(wchar_t ch) 96 96 { 97 97 switch (ch) { … … 120 120 char *fmt; 121 121 size_t pos, fmt_sz; 122 char32_t ch;122 wchar_t ch; 123 123 bool esc_flag = false; 124 124 unsigned int carg; // Current argument … … 170 170 break; 171 171 } 172 put uchar(ch);172 putwchar(ch); 173 173 break; 174 174 175 175 emit: 176 put uchar(ch);176 putwchar(ch); 177 177 esc_flag = false; 178 178 }
Note:
See TracChangeset
for help on using the changeset viewer.
