摘要: 子进程生成fibnacii 父进程输出 #include <sys/types.h> #include <sys/shm.h> #include <sys/stat.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> #define MAX_SEQUENCE 10 typedef struct { int fib_sequence[MAX_SEQUENCE]; int sequence_size; }shared_data; int main(int 阅读全文
posted @ 2011-08-25 13:10 xxx1 阅读(237) 评论(0) 推荐(0) 编辑