Changeset 566f4cfb in mainline for uspace/lib/libc/generic/io/vprintf.c
- Timestamp:
- 2009-04-24T08:01:05Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 402de0c
- Parents:
- ab1861a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/io/vprintf.c
rab1861a r566f4cfb 39 39 #include <futex.h> 40 40 #include <async.h> 41 #include <console.h> 41 42 42 43 static atomic_t printf_futex = FUTEX_INITIALIZER; … … 51 52 prev = offset; 52 53 str_decode(str, &offset, size); 53 write_stdout(str + prev, offset - prev);54 console_write(str + prev, offset - prev); 54 55 chars++; 55 56 } … … 68 69 boff = 0; 69 70 chr_encode(str[chars], buf, &boff, 4); 70 write_stdout(buf, boff);71 console_write(buf, boff); 71 72 chars++; 72 73 offset += sizeof(wchar_t);
Note:
See TracChangeset
for help on using the changeset viewer.