Skip to content

System V shared memory emulation on Android using ashmem.

License

Notifications You must be signed in to change notification settings

termux/libandroid-shmem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libandroid-shmem

System V shared memory (shmget, shmat, shmdt and shmctl) emulation on Android using ashmem for use in Termux.

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.