hi in msgget(key _t key,int msgflg) wt is the value of key ? is it integer or character or string?
please any one can give explanation on this?
hi in msgget(key _t key,int msgflg) wt is the value of key ? is it integer or character or string?
please any one can give explanation on this?
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge
Hi ,
from previous replys, i cant assign any name to message queue ? i will assign only integer value as key?
i cant assign like msgget("name1",IPC_CREATE);
please post your suggestions
"The msgget() function returns the message queue identifier associated with key. A message queue identifier and an associated message queue and data structure are created if key is equal to IPC_PRIVATE"
Sorry! My ungodly intuition sees AN INTEGER here in the first sentence...
Last edited by MK27; 12-05-2009 at 10:25 PM.
C programming resources:
GNU C Function and Macro Index -- glibc reference manual
The C Book -- nice online learner guide
Current ISO draft standard
CCAN -- new CPAN like open source library repository
3 (different) GNU debugger tutorials: #1 -- #2 -- #3
cpwiki -- our wiki on sourceforge