ack/lang/cem/libcc.ansi/stdio/setbuf.c
2018-06-21 22:33:47 +02:00

13 lines
225 B
C

/*
* setbuf.c - control buffering of a stream
*/
/* $Id$ */
#include <stdio.h>
#include "loc_incl.h"
void setbuf(register FILE* stream, char* buf)
{
(void)setvbuf(stream, buf, (buf ? _IOFBF : _IONBF), (size_t)BUFSIZ);
}