摘要:
【snd.c】#include <stdlib.h>#include <stdio.h>#include <string.h>#include <errno.h>#include <unistd.h>#include <sys/msg.h>#define MAX_TEXT 512struct my_msg_st { long int my_msg_type; char some_text[MAX_TEXT];};int main(){ int i = 10; int running = 1; struct my_msg_s 阅读全文