Sign in
cobalt
/
cobalt
/
25399f97090f8a86f56525c38486080cb2747250
/
.
/
src
/
third_party
/
musl
/
src
/
stdio
/
setbuffer.c
blob: 71233d2ec1aee44d044786b68d1cbbc6d39d9e33 [
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
);
}