client_main.c
来自「《UNIX进程间通信》中的代码」· C语言 代码 · 共 17 行
C
17 行
#include "svmsg.h"void client(int, int);intmain(int argc, char **argv){ int msqid; /* 4server must create the queue */ msqid = Msgget(MQ_KEY1, 0); client(msqid, msqid); /* same queue for both directions */ exit(0);}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?