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