aboutsummaryrefslogtreecommitdiff
path: root/sys/libn/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/libn/io.c')
-rw-r--r--sys/libn/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/libn/io.c b/sys/libn/io.c
index 7eec74e..ff64ff0 100644
--- a/sys/libn/io.c
+++ b/sys/libn/io.c
@@ -31,7 +31,7 @@ io·ungetbyte(Stream *s, byte c)
return ungetc(c, s);
}
-vlong
+int
io·read(Stream *s, int sz, int n, void *buf)
{
return fread(buf, sz, n, s);
@@ -61,7 +61,7 @@ io·putstring(Stream *s, string str)
return fputs(str, s);
}
-vlong
+int
io·write(Stream *s, int sz, int n, void *buf)
{
return fwrite(buf, sz, n, s);