Changeset b5e68c8 in mainline for boot/generic/src/printf_core.c
- Timestamp:
- 2011-05-12T16:49:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36787d7
- Parents:
- e80329d6 (diff), 750636a (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/generic/src/printf_core.c
re80329d6 rb5e68c8 79 79 PrintfQualifierLong, 80 80 PrintfQualifierLongLong, 81 PrintfQualifierPointer 81 PrintfQualifierPointer, 82 PrintfQualifierSize 82 83 } qualifier_t; 83 84 … … 431 432 * - "" Signed or unsigned int (default value).@n 432 433 * - "l" Signed or unsigned long int.@n 433 * If conversion is "c", the character is wchar_t (wide character).@n434 * If conversion is "s", the string is wchar_t * (wide string).@n435 434 * - "ll" Signed or unsigned long long int.@n 436 435 * … … 612 611 } 613 612 break; 613 case 'z': 614 qualifier = PrintfQualifierSize; 615 i = nxt; 616 uc = str_decode(fmt, &nxt, STR_NO_LIMIT); 617 break; 614 618 default: 615 619 /* Default type */ … … 720 724 number = (uint64_t) (uintptr_t) va_arg(ap, void *); 721 725 break; 726 case PrintfQualifierSize: 727 size = sizeof(size_t); 728 number = (uint64_t) va_arg(ap, size_t); 729 break; 722 730 default: 723 731 /* Unknown qualifier */
Note:
See TracChangeset
for help on using the changeset viewer.