aboutsummaryrefslogtreecommitdiff
path: root/include/libn.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libn.h')
-rw-r--r--include/libn.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libn.h b/include/libn.h
index 0fbcdc7..203a477 100644
--- a/include/libn.h
+++ b/include/libn.h
@@ -98,6 +98,7 @@ enum SeekPos
Stream *io·open(byte *name, byte *mode);
error io·close(Stream *s);
byte io·getbyte(Stream *s);
+error io·ungetbyte(Stream *s, byte c);
vlong io·read(Stream *s, int sz, int n, void *buf);
int io·readln(Stream *s, int n, byte* buf);
error io·putbyte(Stream *s, byte c);