diff options
Diffstat (limited to 'src/fs.h')
| -rw-r--r-- | src/fs.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -108,7 +108,9 @@ enum pw_fs_errno { PW_EEXIST = 17, PW_EINVAL = 22, PW_EMFILE = 24, + PW_ENOTTY = 24, PW_EFBIG = 27, + PW_EOVERFLOW = 75, }; /** @@ -155,7 +157,7 @@ bool pw_fs_close(struct pw_fs *fs, pw_fd fd); * Seek. */ bool pw_fs_seek(struct pw_fs *fs, pw_fd fd, int64_t offset, - enum pw_fs_seek_whence whence); + enum pw_fs_seek_whence whence, int64_t *newpos); /** * Return a readonly buffer of size `*sz` to the contents of the file. It |
