谁注册了丁丁

导航

2013年7月24日 #

进程间通信--共享内存

摘要: 共享内存函数: shmget, shmat, shmctl, shmdt#includeintshmget(key_t key, size_t size, int shmflg)voidshmat(int shm_id, const void *shm_addr, int shmflg)intshmdt(const void *shm_addr)intshmctl(int shm_id, int command, struct shmid_ds *buf)int头文件 sys/sem.h 通常依赖于 sys/types.h 和 sys/ipc.h. 一般情况下, 他们都会被 sys/sem.h 阅读全文

posted @ 2013-07-24 12:05 leaker 阅读(420) 评论(0) 推荐(0) 编辑