Skip to content

πŸ‡§πŸ‡Ώ Memory mapped file access

License

Notifications You must be signed in to change notification settings

mulle-core/mulle-mmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d0fe30d Β· Apr 30, 2025
Jan 23, 2025
Apr 27, 2025
Apr 30, 2025
Jan 14, 2024
Apr 30, 2025
Apr 30, 2025
Nov 15, 2019
Nov 6, 2021
Apr 27, 2025
Dec 17, 2022
Apr 28, 2025
Mar 26, 2020
Apr 30, 2025
Apr 27, 2025
Apr 22, 2025
Nov 15, 2019
Apr 18, 2023

Repository files navigation

mulle-mmap

πŸ‡§πŸ‡Ώ Memory mapped file access

An easy to use cross-platform C memory mapping library with a MIT license.

This is based on //github.com/mandreyel/mio, which is a C++ header only library. This library uses traditional .h/.c separation. It has no shared pointer functionality.

Use Objective-C, if you need retain counts.

Release Version Release Notes AI Documentation
Mulle kybernetiK tag Build Status RELEASENOTES DeepWiki for mulle-mmap

You are here

Overview

Add

This project is a component of the mulle-core library. As such you usually will not add or install it individually, unless you specifically do not want to link against mulle-core.

Add as an individual component

Use mulle-sde to add mulle-mmap to your project:

mulle-sde add github:mulle-core/mulle-mmap

To only add the sources of mulle-mmap with dependency sources use clib:

clib install --out src/mulle-core mulle-core/mulle-mmap

Add -isystem src/mulle-core to your CFLAGS and compile all the sources that were downloaded with your project.

Install

Use mulle-sde to build and install mulle-mmap and all dependencies:

mulle-sde install --prefix /usr/local \
   https://github.com/mulle-core/mulle-mmap/archive/latest.tar.gz

Legacy Installation

Install the requirements:

Requirements Description
mulle-c11 πŸ”€ Cross-platform C compiler glue (and some cpp conveniences)

Download the latest tar or zip archive and unpack it.

Install mulle-mmap into /usr/local with cmake:

PREFIX_DIR="/usr/local"
cmake -B build                               \
      -DMULLE_SDK_PATH="${PREFIX_DIR}"       \
      -DCMAKE_INSTALL_PREFIX="${PREFIX_DIR}" \
      -DCMAKE_PREFIX_PATH="${PREFIX_DIR}"    \
      -DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release

Author

Nat! for Mulle kybernetiK