repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
riscv32: add dlsym
[musl.git]
/
src
/
stdio
/
setbuffer.c
blob
71233d2ec1aee44d044786b68d1cbbc6d39d9e33
1
#define _GNU_SOURCE
2
#include <stdio.h>
3
4
void
setbuffer
(
FILE
*
f
,
char
*
buf
,
size_t
size
)
5
{
6
setvbuf
(
f
,
buf
,
buf
?
_IOFBF
:
_IONBF
,
size
);
7
}