Searched refs:Shm_id (Results 1 – 1 of 1) sorted by relevance
83 Shm_id[BUFCNT], /* shared memory identifier */ variable802 if ((Shm_id[cnt] = shmget(IPC_PRIVATE, size, 0)) < 0) in mem_setup()805 if ((Buf[cnt] = shmat(Shm_id[cnt], 0, 0)) == (void *)-1) in mem_setup()808 if (shmctl(Shm_id[cnt], SHM_LOCK, 0) < 0) in mem_setup()1151 (void) shmctl(Shm_id[cnt], IPC_RMID, 0); in cleanup()