|
libcosmos
Linux C++ System Programming Library
|
Collection of settings used in cosmos::mem::map(). More...
#include <mman.hxx>
Public Attributes | |
| MapType | type |
| AccessFlags | access |
| MapFlags | flags = {} |
| off_t | offset = 0 |
| offset into the file object starting from which the mapping will be setup for. | |
| FileDescriptor | fd = {} |
| the file object to be mapped, if MapFlag::ANONYMOUS is set then leave this invalid. | |
| void * | addr = nullptr |
| a hint where to place the mapping, or the exact address if MapFlag::FIXED is given. | |
| AccessFlags cosmos::mem::MapSettings::access |
| void* cosmos::mem::MapSettings::addr = nullptr |
a hint where to place the mapping, or the exact address if MapFlag::FIXED is given.
| FileDescriptor cosmos::mem::MapSettings::fd = {} |
the file object to be mapped, if MapFlag::ANONYMOUS is set then leave this invalid.
Definition at line 126 of file mman.hxx.
| off_t cosmos::mem::MapSettings::offset = 0 |