在服务器上用Vim编写程序:创建一个命名管道,创建两个进程分别对管道进行读fifo_read.c和写fifo_write.c。给出源代码。
fifo_read.c
fifo_write.c
fifo_read1.c
ps:运行两个终端,在一个终端运行fifo_read.c,另一个终端运行fifo_write.c