15 lines
237 B
C
15 lines
237 B
C
#include "libnazgul.h"
|
|
|
|
int msgSpaceClose(msgSpace * space){
|
|
msgSpaceId spaceId;
|
|
strcpy(spaceId,space->id);
|
|
|
|
if (munmap(space,sizeof(msgSpace)) < 0){
|
|
NZG_ERROR("unmap",spaceId);
|
|
goto ERROR;
|
|
}
|
|
|
|
return 0;
|
|
ERROR:
|
|
return -1;
|
|
}
|