aboutsummaryrefslogtreecommitdiff
path: root/include/libn.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libn.h')
-rw-r--r--include/libn.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libn.h b/include/libn.h
index 99e4fdb..bfeae3e 100644
--- a/include/libn.h
+++ b/include/libn.h
@@ -117,9 +117,9 @@ typedef struct stat io·Stat;
enum SeekPos
{
- seek·CUR = SEEK_CUR,
- seek·SET = SEEK_SET,
- seek·END = SEEK_END
+ seek·cur = SEEK_CUR,
+ seek·set = SEEK_SET,
+ seek·end = SEEK_END
};
Stream *io·open(byte *name, byte *mode);
@@ -134,7 +134,7 @@ error io·putbyte(Stream *s, byte c);
int io·putstring(Stream *s, string str);
int io·write(Stream *s, int sz, int n, void *buf);
int io·flush(Stream *s);
-int io·seek(Stream *s, long off, enum SeekPos origin);
+int io·seek(Stream *s, long off, enum SeekPos whence);
/* generic I/O interfaces */