Jack Klein <> wrote:
> On Sun, 10 Aug 2008 16:27:50 -0700 (PDT), Ahmad Jalil Qarshi
> <> wrote in comp.lang.c:
> > I have developed an application in C on IBM AIX 5.2. Its using
> > multiple Message Queues to share data between different processes. I
> > am using following functions to send/receive messages into/from
> > message queues:
> >
> > int msgget(key_t, int);
> > ssize_t msgrcv(int, void *, size_t, long int, int);
> > int msgsnd(int, const void *, size_t, int);
> >
> > Now I want to calculate number of messages in each message queue at a
> > specific time. So which function should I use? There is a function
> > named "mq_getattr" to get queue attributes. Can this help out?
> This is not really the correct place to ask this question. Your
> question is not about the C language or standard C library, which are
> the topics here. Instead your question is about the use of a
> system-specific library, which is not part of the C language itself.
> I see a large number of newsgroups dedicated to IBM's AIX, although I
> do not know how active any of them are. For example:
> news:comp.sys.aix, news:comp.unix.aix, and several in the family
> news:ibm.*.aix.
Since the functions named by Ahmad are all POSIX functions and thus
probably not AIX-specific also e.g. comp.unix.programmer would be
a reasonable choice of a group for asking the question.
Regards, Jens
--
\ Jens Thoms Toerring ___
\__________________________
http://toerring.de