emulate SOCK_CLOEXEC and SOCK_NONBLOCK for old (pre-2.6.27) kernels
[musl] / 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 }