diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-04-21 19:18:40 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-04-21 19:18:40 -0700 |
commit | e596ebd0c129913b7135210b23a50336b6f8556f (patch) | |
tree | dd301b9ef5a325a325930e773a5bf6cb891f6bf8 /sys/libn/io.c | |
parent | 38eb0be234fa84ea5f7e2f0c753e1d1efd317c60 (diff) |
chore: updating naming conventions
Diffstat (limited to 'sys/libn/io.c')
-rw-r--r-- | sys/libn/io.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |