Home
last modified time | relevance | path

Searched refs:Shm_id (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c83 Shm_id[BUFCNT], /* shared memory identifier */ variable
802 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()