Initial revision
This commit is contained in:
13
lib/stdio/setbuf.c
Executable file
13
lib/stdio/setbuf.c
Executable file
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
* 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);
|
||||
}
|
||||
Reference in New Issue
Block a user