(2006-08-06) rescue-bootcd
This commit is contained in:
15
extra/syslinux-3.09/com32/lib/fputs.c
Normal file
15
extra/syslinux-3.09/com32/lib/fputs.c
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* fputs.c
|
||||
*
|
||||
* This isn't quite fputs() in the stdio sense, since we don't
|
||||
* have stdio, but it takes a file descriptor argument instead
|
||||
* of the FILE *.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
int fputs(const char *s, FILE *file)
|
||||
{
|
||||
return _fwrite(s, strlen(s), file);
|
||||
}
|
||||
Reference in New Issue
Block a user