From e596ebd0c129913b7135210b23a50336b6f8556f Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Tue, 21 Apr 2020 19:18:40 -0700 Subject: chore: updating naming conventions --- sys/libn/io.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/libn/io.c') diff --git a/sys/libn/io.c b/sys/libn/io.c index 789bc7b..922dec3 100644 --- a/sys/libn/io.c +++ b/sys/libn/io.c @@ -25,6 +25,12 @@ io·getbyte(Stream *s) return fgetc(s); } +error +io·ungetbyte(Stream *s, byte c) +{ + return ungetc(c, s); +} + vlong io·read(Stream *s, int sz, int n, void *buf) { -- cgit v1.2.1