|
throw makeOsException(err,"CMemoryMappedFile::reinit");
|
|
throw makeOsException(err,"CMemoryMappedFile::reinit");
|
|
ptr = (byte *) mmap(NULL, mapsz, writeaccess?(PROT_READ|PROT_WRITE):PROT_READ, MAP_SHARED|MAP_NORESERVE, hfile, realofs);
|
|
ptr = (byte *) mmap(NULL, mapsz, writeaccess?(PROT_READ|PROT_WRITE):PROT_READ, MAP_SHARED|MAP_NORESERVE, hfile, realofs);
|