libbase: downstream users should provide fprintf.

This commit is contained in:
whitequark 2015-08-01 20:14:09 +03:00
parent 3f7f0a3151
commit 13a50a93d9
1 changed files with 0 additions and 15 deletions

View File

@ -78,18 +78,3 @@ int printf(const char *fmt, ...)
return len; return len;
} }
int fprintf(FILE *stream, const char *fmt, ...)
{
va_list args;
int len;
char outbuf[PRINTF_BUFFER_SIZE];
va_start(args, fmt);
len = vscnprintf(outbuf, sizeof(outbuf), fmt, args);
va_end(args);
outbuf[len] = 0;
putsnonl(outbuf);
return len;
}