diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2020-04-25 12:43:11 -0700 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2020-04-25 12:43:11 -0700 |
commit | 622ec3cadbda926e02af594d2ff7e89d33833b36 (patch) | |
tree | 3a7b7edba269688bb6c502d9bb8a6eb41cb13ca3 /include/libn.h | |
parent | 50081012e8dcf3c4ee4163526f684afa707c5a98 (diff) |
chore: prepare for refactoring to allow for fastq
Diffstat (limited to 'include/libn.h')
-rw-r--r-- | include/libn.h | 8 |
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 */ |