emulate SOCK_CLOEXEC and SOCK_NONBLOCK for old (pre-2.6.27) kernels
[musl] / src / stdio / setlinebuf.c
1 #define _GNU_SOURCE
2 #include <stdio.h>
3
4 void setlinebuf(FILE *f)
5 {
6         setvbuf(f, 0, _IOLBF, 0);
7 }