allwinner_a64/android/external/syslinux/com32/lib/fputs.c
2018-08-08 16:14:42 +08:00

15 lines
288 B
C

/*
* 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);
}