*** empty log message ***

This commit is contained in:
glenux 2004-02-23 21:19:20 +00:00
parent 240e5f1410
commit b764455d36
4 changed files with 15 additions and 4 deletions

View file

@ -0,0 +1,7 @@
#include "libnazgul.h"
// on ajoute en fin de queue...
int msgQueueElemAdd(msgQueue * queue, msgQueueElemId){
}

View file

View file

@ -1,10 +1,14 @@
#include "libnazgul.h"
#include "ids.h"
int msgQueueElemCreate(msgQueueId queueId,int counter){
int msgQueueElemCreate(msgQueueElemId,
finalQueueElemId,
msgQueueId queueId,
int counter){
msgQueueElemId queueElemId;
msgQueueElemIdIntern(queueElemId,queueId,counter);
strcpy(finalQueueElemId,queueElemId);
int queueElemFd;
queueElemFd=shm_open(queueElemId,
@ -12,14 +16,14 @@ int msgQueueElemCreate(msgQueueId queueId,int counter){
SHM_DEFAULT_MODE);
if (queueElemFd == -1 ) {
NZG_ERROR("shm_open : msgQueueElem creation",queueElemId);
goto ERROR;
goto ERROR;
}
if (ftruncate(queueElemFd, sizeof(msgQueueElem)) < 0){
NZG_ERROR("ftruncate", queueElemId);
NZG_ERROR("ftruncate", queueElemId);
goto ERROR;
}
close(queueElem_Fd);
return 0;
ERROR:

View file