搜索资源列表
linux_c_s
- 基于终端的订花系统_socket #include<stdio.h> #include<stdlib.h> #include<errno.h> #include<string.h> #include<sys/types.h> #include<netinet/in.h> #include<sys/socket.h> #include<sys/wait.h>
shm
- linux下进程间通信,简单的共享内存的实现(源代码),适合初学。-linux under the inter-process communication, a simple shared memory implementation (source code), suitable for beginners.
shm
- 多个进程每秒钟向共享内存中写入数据,一个进程从共享内存中读数据-Multiple processes per second write data to shared memory, a process that reads the data from the shared memory
3_read
- #include shm.h int main(int argc,char *argv[]) { key_t key int shm_id char *buf //鑾峰緱key if((key = ftok( ./ ,0xa)) < 0){ perror( ftok ) exit(1) } //鑾峰緱鍏变韩鍐呭瓨 if((shm_id = shmget(key,SHM_SIZE,IP