Lines Matching refs:shmid
92 static int shmid;
1271 if ((shmid = shmget(shm_key, sizeof (shared_mem_t),
1278 if ((shm_addr = (char *) shmat(shmid,
1328 if ((shmid = shmget(shm_key, sizeof (shared_mem_t),
1335 if ((shm_addr = (char *) shmat(shmid,
1351 if (shmctl(shmid, IPC_RMID, NULL) == -1) {
1368 if ((shmid = shmget(shm_key, sizeof (shared_mem_t),
1371 if ((shm_addr = (char *) shmat(shmid,
1464 if ((shmid = shmget(shm_key, sizeof (shared_mem_t),
1473 if ((shm_addr = (char *) shmat(shmid,
1678 if ((shmid = shmget(shm_key, sizeof (shared_mem_t),
1685 if ((shm_addr = (char *) shmat(shmid,