source:
bootcd/isolinux/syslinux-6.03/com32/lib/putchar.c
Last change on this file was e16e8f2, checked in by , 3 years ago | |
---|---|
|
|
File size: 217 bytes |
Line | |
---|---|
1 | /* |
2 | * putchar.c |
3 | * |
4 | * gcc "printf decompilation" expects this to exist... |
5 | */ |
6 | |
7 | #include <stdio.h> |
8 | |
9 | #undef putchar |
10 | |
11 | int putchar(int c) |
12 | { |
13 | unsigned char ch = c; |
14 | |
15 | return _fwrite(&ch, 1, stdout) == 1 ? ch : EOF; |
16 | } |
Note: See TracBrowser
for help on using the repository browser.