summaryrefslogtreecommitdiffstats
path: root/service/setlbf.c
diff options
context:
space:
mode:
Diffstat (limited to 'service/setlbf.c')
-rw-r--r--service/setlbf.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/service/setlbf.c b/service/setlbf.c
new file mode 100644
index 0000000..94c251e
--- /dev/null
+++ b/service/setlbf.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+
+static void __attribute__((constructor)) setlbf(void)
+{
+ setbuf(stdout, NULL);
+}