projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix assumption in fputs that fwrite returning 0 implies an error
[oweals/musl.git]
/
src
/
stdio
/
setbuf.c
1
#include <stdio.h>
2
3
void setbuf(FILE *restrict f, char *restrict buf)
4
{
5
setvbuf(f, buf, buf ? _IOFBF : _IONBF, BUFSIZ);
6
}