![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
进程间通信
小白_ZH
这个作者很懒,什么都没留下…
展开
-
Linux学习笔记(C语言):用无名管道实现英文词典的查询
要求输入单词,输出单词的详细解释(进程间通信) #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #define MAX 19661//字典行数,一行一个词 int main(int ar原创 2020-07-30 23:22:19 · 282 阅读 · 0 评论 -
Linux学习笔记(C语言):tcp实现客户端与服务器端聊天
客户端 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/types.h> /* See NOTES */ #include <sys/socket.h> #include <time.h> #include <sys/socket.h> #include &l原创 2020-07-25 20:10:20 · 409 阅读 · 0 评论 -
Linux学习笔记:共享内存传输照片实现照片复制
写端: #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/types.h> #include <sys/ipc.h> #include <sys/shm.h> int main(int argc, const char *argv[]) { key_t key = ftok("/home/linux",'!');//创建临时键值 i..原创 2020-07-24 22:55:53 · 645 阅读 · 0 评论