7 lines
123 B
C
7 lines
123 B
C
|
#include <stdio.h>
|
||
|
|
||
|
void setbuf(FILE *restrict f, char *restrict buf)
|
||
|
{
|
||
|
setvbuf(f, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
|
||
|
}
|