diff --git a/src/system/FileDescriptor.hxx b/src/system/FileDescriptor.hxx index 75a76844c..5ce466ee1 100644 --- a/src/system/FileDescriptor.hxx +++ b/src/system/FileDescriptor.hxx @@ -146,6 +146,10 @@ public: return lseek(Get(), offset, SEEK_SET); } + off_t Skip(off_t offset) { + return lseek(Get(), offset, SEEK_CUR); + } + gcc_pure off_t Tell() const { return lseek(Get(), 0, SEEK_CUR);