blob: 84f0c89aa3a6c12dd7401384b457a99718fcb5d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
}
|