Sign in
cobalt
/
cobalt
/
b48d5d342d8a80b19c4a69b353cdb8fdc6ab3789
/
.
/
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
);
}