aboutsummaryrefslogtreecommitdiff
path: root/sys/libn
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-04-22 18:15:17 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-04-22 18:15:17 -0700
commitfb4c4ceba416376751196cdbbdb5f7240e08a405 (patch)
treebb874085d6d7715c24da544e9f71ef05e6a2a80a /sys/libn
parent583656a3537bc43a28c58111520143df04bf27f2 (diff)
fix: bug squashing with newick parser
Diffstat (limited to 'sys/libn')
-rw-r--r--sys/libn/io.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/libn/io.c b/sys/libn/io.c
index 922dec3..7eec74e 100644
--- a/sys/libn/io.c
+++ b/sys/libn/io.c
@@ -67,6 +67,12 @@ io·write(Stream *s, int sz, int n, void *buf)
return fwrite(buf, sz, n, s);
}
+int
+io·flush(Stream *s)
+{
+ return fflush(s);
+}
+
// -----------------------------------------------------------------------
// Seek