Changeset 56fa418 in mainline for uspace/lib/libc/generic/console.c
- Timestamp:
- 2009-04-05T15:50:53Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0175246
- Parents:
- 726ef849
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libc/generic/console.c
r726ef849 r56fa418 58 58 59 59 static ssize_t cons_write(const char *buf, size_t nbyte); 60 static void cons_putchar( int c);60 static void cons_putchar(wchar_t c); 61 61 62 62 static void cbuffer_flush(void); … … 120 120 } 121 121 122 void console_putchar(int c) 123 { 124 cbuffer_putc(c); 122 void console_putchar(wchar_t c) 123 { 124 // cbuffer_putc(c); 125 cbuffer_flush(); 126 cons_putchar(c); 125 127 } 126 128 … … 163 165 164 166 /** Write one character to the console via IPC. */ 165 static void cons_putchar( int c)167 static void cons_putchar(wchar_t c) 166 168 { 167 169 int cons_phone = console_phone_get(true);
Note:
See TracChangeset
for help on using the changeset viewer.