摘要:
/***** linux下的pipe管道通讯 ****/ #include<unistd.h>#include<stdio.h>#include<string.h>#define MAXSIZE 100int main(void){ int fd[2],pid,line; char message[ 阅读全文
摘要:
/**** 进程 ***/ #include<sys/types.h>#include<stdio.h>#include<stdlib.h>#include<unistd.h>int main(){ pid_t pid; if( ( pid = fork() ) < 0 ) { printf("fo 阅读全文