Rev 6424 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6424 | Rev 6429 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #include |
1 | #include |
Line 2... | Line 2... | ||
2 | 2 | ||
3 | int putchar ( int ch ) |
3 | int putchar ( int ch ) |
- | 4 | { |
|
- | 5 | char s[2]; |
|
- | 6 | ||
- | 7 | con_init_console_dll(); |
|
- | 8 | ||
- | 9 | s[0] = (char)ch; |
|
- | 10 | s[1] = '\0'; |
|
4 | { |
11 | |
5 | printf("%c", ch); |
12 | con_write_asciiz(s); |
6 | return ch; |
13 | return ch; |
7 | } |
14 | } |