ack/lang/cem/libcc.ansi/sys/stdio/setbuf.c
2018-06-23 18:54:40 +02:00

17 lines
257 B
C

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