Changes in uspace/lib/c/generic/io/vprintf.c [28a5ebd:ed88c8e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/io/vprintf.c
r28a5ebd red88c8e 48 48 } 49 49 50 static int vprintf_wstr_write(const char32_t *str, size_t size, void *stream)50 static int vprintf_wstr_write(const wchar_t *str, size_t size, void *stream) 51 51 { 52 52 size_t offset = 0; … … 54 54 55 55 while (offset < size) { 56 if (fput uc(str[chars], (FILE *) stream) <= 0)56 if (fputwc(str[chars], (FILE *) stream) <= 0) 57 57 break; 58 58 59 59 chars++; 60 offset += sizeof( char32_t);60 offset += sizeof(wchar_t); 61 61 } 62 62
Note:
See TracChangeset
for help on using the changeset viewer.