/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththisfile,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
/** *Helperclasstommapplainfiles.
*/ class Mappable : public mozilla::RefCounted<Mappable> {
public:
MOZ_DECLARE_REFCOUNTED_TYPENAME(Mappable)
~Mappable() {}
MemoryRange mmap(constvoid* addr, size_t length, int prot, int flags,
off_t offset);
private: void munmap(void* addr, size_t length) { ::munmap(addr, length); } /* Limit use of Mappable::munmap to classes that keep track of the address
* and size of the mapping. This allows to ignore ::munmap return value. */ friendclass Mappable1stPagePtr; friendclass LibHandle;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.