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