16 #ifndef FOXXLL_IO_SYSCALL_FILE_HEADER 17 #define FOXXLL_IO_SYSCALL_FILE_HEADER 55 const char *
io_type()
const final;
62 #endif // !FOXXLL_IO_SYSCALL_FILE_HEADER const char * io_type() const final
Implementation of file based on UNIX syscalls.
Base for UNIX file system implementations.
static const unsigned int DEFAULT_DEVICE_ID
request::offset_type offset_type
the offset of a request, also the size of the file
Implementation of some file methods based on serving_request.
request::size_type size_type
the size of a request
void serve(void *buffer, offset_type offset, size_type bytes, request::read_or_write op) final
static const int DEFAULT_QUEUE
std::basic_string< char, std::char_traits< char >, Allocator< char > > string
string with Manager tracking
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, file_stats *file_stats=nullptr)
static const size_t bytes
number of bytes in uint_pair
static const int NO_ALLOCATOR