Guest_imported
New member
- Jan 1, 1970
- 0
I am using in a program some queues to exchange messages (functions msgsnd, msgrcv).....my problem is for the use of msgctl function .........I want to use to have some infos on a queue
I wrote:
msgctl(IdQueue,IPC_STAT,infosQueue);
with this declaration:
struct msqid_ds * infosQueue;
My problem is that before like after the function , infosQueue never change.
I would like to know how does this function really works. And if somebody knows how to use it.
Thanks
I wrote:
msgctl(IdQueue,IPC_STAT,infosQueue);
with this declaration:
struct msqid_ds * infosQueue;
My problem is that before like after the function , infosQueue never change.
I would like to know how does this function really works. And if somebody knows how to use it.
Thanks