summaryrefslogtreecommitdiff
path: root/src/stdio/setbuf.c
blob: 1b98d5039c1896551145e7ebe39511ef02bf70a4 (plain) (blame)
1
2
3
4
5
6
#include <stdio.h>

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