摘要: Linux的进程间通信(IPC,InterProcess Communication)通信方法有管道、消息队列、共享内存、信号量、套接口等。 管道分为有名管道和无名管道,无名管道只能用于亲属进程之间的通信,而有名管道则可用于无亲属关系的进程之间。 #define INPUT 0 #define OUTPUT 1 void main() { int file_descriptors[2]; ... 阅读全文
posted @ 2008-10-29 17:33 AlexusLi 阅读(1734) 评论(0) 推荐(0) 编辑