- Timestamp:
- 2006-04-16T13:18:43Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- da32cea
- Parents:
- 9426c1a3
- Location:
- libc/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libc/generic/io/print.c
r9426c1a3 r523fad8 69 69 * @return number of printed characters or EOF 70 70 */ 71 72 71 static int print_char(char c, int width, uint64_t flags) 73 72 { 74 73 int counter = 0; 75 char space = ' ';76 74 77 75 if (!(flags & __PRINTF_FLAG_LEFTALIGNED)) { … … 257 255 putchar('b'); 258 256 } 259 written == 2;257 written += 2; 260 258 break; 261 259 case 8: -
libc/generic/string.c
r9426c1a3 r523fad8 50 50 size_t strlen(const char *str) 51 51 { 52 int counter = 0;52 size_t counter = 0; 53 53 54 54 while (str[counter] != 0) {
Note:
See TracChangeset
for help on using the changeset viewer.