Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
handle::mapped_file

A holder of a mapped file.

Synopsis
struct handle::mapped_file
{
  handle_ptr h;   // The file being mapped. 
  void * addr;    // The address in memory of the map. 
  size_t length;  // The length of the map. 
  off_t offset;   // The offset of the map into the file. 
};
Constructor(s)

Function

Description

Parameters

mapped_file(const mapped_file & )

const mapped_file &: :

mapped_file(mapped_file && )

mapped_file &&: :

mapped_file(handle_ptr _h, void * _addr, size_t _length,
             off_t _offset)

handle_ptr: _h:

void *: _addr:

size_t: _length:

off_t: _offset:

~mapped_file()
Member Function(s)

Function

Description

Parameters

Returns

mapped_file & operator=(const mapped_file & )

const mapped_file &: :

mapped_file & operator=(mapped_file && )

mapped_file &&: :

Header

#include <boost/afio/v2/afio.hpp>


PrevUpHomeNext