摘要:
子进程生成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 阅读全文