linux 下 python c++ 使用管道进行数据通信示例
c++ code writer.cpp
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#define _PATH_ "/tmp/vsd_fifo.pipe"
#define _SIZE_ 100
void Write(){
int ret = mkfifo(_PATH_, 0666 | S_IFIFO);
if (ret == -1){
printf("Failed to creat