shared-memory/src/SharedMemory.cpp

8 lines
189 B
C++
Raw Normal View History

2019-10-19 17:12:14 +02:00
#include "SharedMemory.h"
//Shared-Memory-Segment erstellen oder öffnen shmget()
void shared-memory-init(){
memmory-id = shmget(IPC_PRIVATE, SHMMAXSIZE, IPC_CREAT | IPC_EXCL);
2019-10-19 17:12:14 +02:00
}