|
#ifndef SHR_MEM
|
|
#define SHR_MEM
|
|
|
|
int createShm();
|
|
char * attachShm(int shmId);
|
|
int writeShm(void * address, char * str, int len);
|
|
int readShm(char * address, char * str, int len);
|
|
void terminateShm(const char * name, int fd, void * shmPointer, int totalSize);
|
|
void closeSem();
|
|
|
|
#endif
|