Rivoreo Source Code Repositories
src.rivoreo.one
/
devel
/
celibc
/
3e0f8dc6124b5b53a1bf4b5c50f1389b745dde38
/
.
/
stdio
/
setbuffer.c
blob: b72139767491aa0821e6084802575413cf0eaa7b [
file
] [
log
] [
blame
] [
raw
]
#include
<stdio.h>
void
setbuffer
(
FILE
*
fp
,
char
*
buf
,
size_t
size
)
{
setvbuf
(
fp
,
buf
,
buf
?
_IOFBF
:
_IONBF
,
size
);
}
void
setbuf
(
FILE
*
fp
,
char
*
buf
)
{
setvbuf
(
fp
,
buf
,
buf
?
_IOFBF
:
_IONBF
,
BUFSIZ
);
}