Changeset 10d73d8 in mainline
- Timestamp:
- 2009-03-24T15:27:08Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6a75902c
- Parents:
- 08b5601
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/printf/printf_core.c
r08b5601 r10d73d8 160 160 return ps->write_utf8((void *) &invalch, 1, ps->data); 161 161 162 return ps->write_utf32(&ch, 1, ps->data);162 return ps->write_utf32(&ch, sizeof(wchar_t), ps->data); 163 163 } 164 164 -
kernel/test/print/print4.c
r08b5601 r10d73d8 50 50 } 51 51 52 printf("\nExtended ASCII characters (128 - 255) using printf(\"%% c\") and printf(\"%%lc\"):\n");52 printf("\nExtended ASCII characters (128 - 255) using printf(\"%%lc\"):\n"); 53 53 54 54 for (hextet = 8; hextet < 16; hextet++) { … … 56 56 57 57 uint8_t index; 58 for (index = 0; index < 16; index++)59 printf("%c", (char) ((hextet << 4) + index));60 61 printf(" ");62 58 for (index = 0; index < 16; index++) 63 59 printf("%lc", (wchar_t) ((hextet << 4) + index));
Note:
See TracChangeset
for help on using the changeset viewer.