資源簡介
東北大學(xué)軟件學(xué)院Linux實驗報告及代碼
老師是sk
東北大學(xué)軟件學(xué)院Linux實驗報告及代碼
老師是sk
老師是sk
東北大學(xué)軟件學(xué)院Linux實驗報告及代碼
老師是sk

代碼片段和文件信息
#include?
#include?
#include?
#include?
#include?
#define?MSGKEY?75
struct?msgform?{
long?mtype;
char?mtext[1000];
}?msg;
int?msgqid;
void?client()?{
int?i;
msgqid=msgget(MSGKEY0777);?/*打開?75#消息隊列*/
for(i=10;?i>=1;?i--)?{
msg.mtype=i;
printf(“(client)sent\n“);
msgsnd(msgqid&msg10240);?/*發(fā)送消息*/
}
exit(0);
}
main(?)?{
client(?);
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2020-02-04?11:54??20175283\
?????文件??????764928??2020-01-10?10:17??20175283\20175283_張志浩.doc
?????目錄???????????0??2020-01-10?10:18??20175283\代碼\
?????文件?????????423??2019-12-26?17:22??20175283\代碼\client.c
?????文件?????????600??2019-12-26?19:02??20175283\代碼\corrsepondence.c
?????文件?????????368??2019-12-16?20:42??20175283\代碼\fork.c
?????文件?????????495??2019-12-16?21:05??20175283\代碼\fork1.c
?????文件??????????56??2019-12-09?20:31??20175283\代碼\hello.c
?????文件?????????658??2019-12-09?19:51??20175283\代碼\mx.c
?????文件?????????693??2019-12-09?20:51??20175283\代碼\mycp.c
?????文件?????????723??2019-12-26?17:21??20175283\代碼\pipe1.c
?????文件?????????972??2019-12-26?17:01??20175283\代碼\pipe2.c
?????文件?????????377??2019-12-16?19:16??20175283\代碼\readmice.c
?????文件?????????486??2019-12-26?17:24??20175283\代碼\server.c
?????文件?????????961??2019-12-26?11:47??20175283\代碼\signal.c
?????文件?????????839??2019-12-26?10:54??20175283\代碼\signal2.c
?????文件????????2078??2020-01-10?01:40??20175283\代碼\socklib.c
?????文件????????4972??2020-01-10?01:44??20175283\代碼\webServe.c
- 上一篇:織夢58賬號密碼.txt
- 下一篇:默納克升級程序
評論
共有 條評論