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