1 #define _FILE_OFFSET_BITS 64
4 #include <msp/core/systemerror.h>
6 #include "handle_private.h"
13 using namespace Msp::IO;
15 int sys_seek_type(SeekType st)
24 throw invalid_argument("sys_seek_type");
32 SeekOffset sys_seek(Handle &handle, SeekOffset offset, SeekType type)
34 off_t ret = lseek(*handle, offset, sys_seek_type(type));
38 throw bad_seek(offset, type);
40 throw system_error("lseek64");