Sign in
fuchsia
/
fuchsia
/
refs/heads/releases/canary
/
.
/
zircon
/
third_party
/
ulib
/
musl
/
src
/
stdio
/
setbuffer.c
blob: 544d26c452d8a9e759e80899d2ea6c3b8ab27ece [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<stdio.h>
void
setbuffer
(
FILE
*
f
,
char
*
buf
,
size_t
size
)
{
setvbuf
(
f
,
buf
,
buf
?
_IOFBF
:
_IONBF
,
size
);
}