summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/stdio/setbuf.c
blob: 74ad7834ae59f20b8a9c4e25ff471313e6776e24 (plain)
1
2
3
4
5
6
#include <stdio.h>

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