summaryrefslogtreecommitdiff
path: root/src/stdio/setbuf.c
blob: 205afcfe69130da23faaddc0cb0408116af15b9c (plain)
1
2
3
4
5
6
#include "stdio_impl.h"

void setbuf(FILE *f, char *buf)
{
	setvbuf(f, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
}