Title:
jinchegndeguandaotongxin Download
Description: 编写程序实现进程的管道通信。具体要求:首先使用系统调用pipe( )建立一个管道;然后分别创建2个子进程,要求2个子进程分别向管道各写一句话:“Child 1 is sending a message!” 和 “Child 2 is sending a message!” 最后,父进程从管道中读出二个来自子进程的信息并显示。
ON划词翻译ON实时翻译
Write a program to achieve the process of communication channels. Specific requirements: first, the use of the system call pipe () to build a pipeline and then create 2 sub process, requirement of 2 sub process respectively to the pipeline each write a word: Child 1 is sending a message! and Child 2 is sending a message! finally, the parent process the pipeline read two the sub process and display information.
To Search:
File list (Check if you may need any files):
jinchegndeguandaotongxin.doc