Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / libcc.ansi / stdio / setbuf.c
1 /*
2  * setbuf.c - control buffering of a stream
3  */
4 /* $Id: setbuf.c,v 1.3 1994/06/24 11:51:27 ceriel Exp $ */
5
6 #include        <stdio.h>
7 #include        "loc_incl.h"
8
9 void
10 setbuf(register FILE *stream, char *buf)
11 {
12         (void) setvbuf(stream, buf, (buf ? _IOFBF : _IONBF), (size_t) BUFSIZ);
13 }