aboutsummaryrefslogtreecommitdiff
path: root/src/fs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs.h')
-rw-r--r--src/fs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs.h b/src/fs.h
index 289fb9a..1a216f0 100644
--- a/src/fs.h
+++ b/src/fs.h
@@ -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