13 lines
273 B
C
13 lines
273 B
C
#include "libnazgul.h"
|
|
|
|
int msgPoolDataTabClose(msgSpace * space,void * addr){
|
|
/* unmapper le msgPoolDataTab */
|
|
|
|
if (munmap(addr,(space->poolNb) * sizeof( msgPoolData )) < 0){
|
|
NZG_ERROR("unmap",space->poolDataTabId);
|
|
goto ERROR;
|
|
}
|
|
return 0;
|
|
ERROR:
|
|
return -1;
|
|
}
|