1387c8713b
core (and split them up).
16 lines
265 B
C
16 lines
265 B
C
/*
|
|
* setbuf.c - control buffering of a stream
|
|
*/
|
|
/* $Id$ */
|
|
|
|
#include <stdio.h>
|
|
|
|
#if ACKCONF_WANT_STDIO && ACKCONF_WANT_EMULATED_FILE
|
|
|
|
void setbuf(register FILE* stream, char* buf)
|
|
{
|
|
(void)setvbuf(stream, buf, (buf ? _IOFBF : _IONBF), (size_t)BUFSIZ);
|
|
}
|
|
|
|
#endif
|