如何在linux中获取进程的消息队列的id? [英] how to get the id of message queue of a process in linux?
本文介绍了如何在linux中获取进程的消息队列的id?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi
i想要将消息发布到进程的消息队列中,但我不知道如何获取进程的消息队列的id。你能给我一些帮助吗?
-kkklko
hi
i want to post a message to a message queue of a process,but i do not know how to get the id of message queue of the process.could you give me some help?
-kkklko
推荐答案
参见 http://www.cs.cf.ac.uk/Dave/C/node25.html [ ^ ]了解密钥和id值的详细信息。
See http://www.cs.cf.ac.uk/Dave/C/node25.html[^] for details of the key and id values.
这篇关于如何在linux中获取进程的消息队列的id?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文