https://github.com/termux/libandroid-shmem
System V shared memory emulation on Android using ashmem.
https://github.com/termux/libandroid-shmem
android ashmem shared-memory termux
Last synced: 9 months ago
JSON representation
System V shared memory emulation on Android using ashmem.
- Host: GitHub
- URL: https://github.com/termux/libandroid-shmem
- Owner: termux
- License: bsd-3-clause
- Created: 2017-03-03T18:36:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-23T00:30:27.000Z (12 months ago)
- Last Synced: 2025-05-01T00:35:02.200Z (10 months ago)
- Topics: android, ashmem, shared-memory, termux
- Language: C
- Size: 43 KB
- Stars: 130
- Watchers: 18
- Forks: 42
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
libandroid-shmem
================
System V shared memory (shmget, shmat, shmdt and shmctl) emulation on Android using ashmem for use in [Termux](https://termux.com/).
The shared memory segments it creates will be automatically destroyed when the creating process destroys them or dies, which differs from the System V shared memory behaviour.
Based on previous work in https://github.com/pelya/android-shmem.
Hacking
=======
The project can be developed on Android devices using Termux. Clone the repo and run `make` in the `tests/` folder after editing the library or test cases.