(2006-08-06) rescue-bootcd
This commit is contained in:
14
extra/syslinux-3.09/com32/lib/fputc.c
Normal file
14
extra/syslinux-3.09/com32/lib/fputc.c
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* fputc.c
|
||||
*
|
||||
* gcc "printf decompilation" expects this to exist...
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int fputc(int c, FILE *f)
|
||||
{
|
||||
unsigned char ch = c;
|
||||
|
||||
return _fwrite(&ch, 1, f) == 1 ? ch : EOF;
|
||||
}
|
||||
Reference in New Issue
Block a user