📄 client_main.c
字号:
#include "svmsg.h"void client(int, int);intmain(int argc, char **argv){ int readid, writeid; /* 4assumes server has created the queues */ writeid = Msgget(MQ_KEY1, 0); readid = Msgget(MQ_KEY2, 0); client(readid, writeid); /* 4now we can delete the queues */ Msgctl(readid, IPC_RMID, NULL); Msgctl(writeid, IPC_RMID, NULL); exit(0);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -