bssolver/shr_mem.h

12 lines
285 B
C

#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