*** empty log message ***
This commit is contained in:
parent
6889c36e2c
commit
23f454bbe1
1 changed files with 6 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <string.h>
|
||||
#include <fcntl.h> /* pour O_RDWR */
|
||||
#include <sys/types.h>
|
||||
#include <sys/mman.h>
|
||||
#include <sys/mman.h> /* shm_open */
|
||||
#include "nzg_iface.h"
|
||||
#include "nzg_proto.h"
|
||||
|
||||
|
@ -58,7 +58,11 @@ msgSpace * msgSpaceOpen(msgSpaceId spaceId){
|
|||
|
||||
void msgSpaceDelete(msgSpaceId spaceId){
|
||||
int shmId;
|
||||
char * nzgId=msgSp2nzgId(spaceId);
|
||||
msgSpaceId nzgId=msgSp2nzgId(spaceId);
|
||||
int er;
|
||||
if ((er=shm_unlink(nzgId))<0){
|
||||
perror("shm_unlink");
|
||||
};
|
||||
}
|
||||
|
||||
msgSpaceId msgSp2nzgId(msgSpaceId spaceId){
|
||||
|
|
Loading…
Reference in a new issue