Rivoreo Source Code Repositories
src.rivoreo.one
/
devel
/
celibc
/
cce31f10ce9b78199dcb082d11fef9059266ba8e
/
.
/
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
);
}