// // Created by Cigerxwin Chaker on 05.11.19. // #ifndef LIBRARY_SHAREDMEMORYACCESSS_H #define LIBRARY_SHAREDMEMORYACCESSS_H /** * only to read the shared memory * @return pointer to the shared memory */ const char *getSharedMemory(); /** * * @return the size of the shared memory */ int getSharedMemorySize(); /** * * @param data poiter to data * @param size of data * @param offset where the data is written on the shared memory */ void writeSharedMemory(char *data, int size, int offset); #endif //LIBRARY_SHAREDMEMORYACCESSS_H