minix/lib/stdio/setbuf.c

14 lines
231 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
/*
* setbuf.c - control buffering of a stream
*/
/* $Header$ */
#include <stdio.h>
#include "loc_incl.h"
void
setbuf(register FILE *stream, char *buf)
{
(void) setvbuf(stream, buf, (buf ? _IOFBF : _IONBF), (size_t) BUFSIZ);
}