16 #ifndef STXXL_IO_SYSCALL_FILE_HEADER
17 #define STXXL_IO_SYSCALL_FILE_HEADER
38 const std::string& filename,
40 int queue_id = DEFAULT_QUEUE,
41 int allocator_id = NO_ALLOCATOR,
42 unsigned int device_id = DEFAULT_DEVICE_ID)
47 void serve(
void* buffer, offset_type offset, size_type
bytes,
49 const char * io_type()
const;
56 #endif // !STXXL_IO_SYSCALL_FILE_HEADER
Defines interface of file.
#define STXXL_BEGIN_NAMESPACE
Implementation of some file methods based on serving_request.
static const size_t bytes
number of bytes in uint_pair
Base for UNIX file system implementations.
Implementation of file based on UNIX syscalls.
syscall_file(const std::string &filename, int mode, int queue_id=DEFAULT_QUEUE, int allocator_id=NO_ALLOCATOR, unsigned int device_id=DEFAULT_DEVICE_ID)
Constructs file object.
#define STXXL_END_NAMESPACE