l3.libnazgul/src/spaceListElemClose.c

19 lines
285 B
C
Raw Normal View History

2004-02-25 18:51:33 +00:00
#include "libnazgul.h"
#include "ids.h"
int msgSpaceListElemClose(msgSpaceListElem * listElem)
{
msgSpaceListElemId eId;
strcpy(eId,listElem->id);
if (munmap(listElem,sizeof(msgSpaceListElem)) < 0){
NZG_ERROR("unmap",eId);
goto ERROR;
}
return 0;
ERROR:
return-1;
};