Searched refs:shmid (Results 1 - 3 of 3) sorted by relevance
/sendmail/libsm/ |
H A D | shm.c | 28 ** shmid -- pointer to return id. 40 sm_shmstart(key, size, shmflg, shmid, owner) 44 int *shmid; 55 *shmid = shmget(key, size, shmflg); 56 if (*shmid < 0) 59 shm = shmat(*shmid, (void *) 0, 0); 67 if (shm != SM_SHM_NULL || *shmid >= 0) 68 sm_shmstop(shm, *shmid, owner); 69 *shmid = SM_SHM_NO_ID; 80 ** shmid [all...] |
H A D | t-shm.c | 47 int *shm, shmid; local 50 shm = (int *) sm_shmstart(T_SHMKEY, SHMSIZE, 0, &shmid, owner); 87 i = sm_shmsetowner(shmid, getuid(), getgid(), 0644); 92 return sm_shmstop((void *) shm, shmid, owner); 115 int *shm, shmid; local 118 shm = (int *) sm_shmstart(T_SHMKEY, size, 0, &shmid, owner); 135 return sm_shmstop((void *) shm, shmid, owner); 158 int *shm, shmid; local 161 shm = (int *) sm_shmstart(T_SHMKEY, SHMSIZE, 0, &shmid, owner); 172 r = sm_shmsetowner(shmid, getui [all...] |
/sendmail/sendmail/ |
H A D | shmticklib.c | 39 static int shmid = -1; local 43 if (shmid < 0) 47 shmid = shmget(STATUSD_SHM_KEY, size, 0); 48 if (shmid < 0) 53 sp = (STATUSD_SHM *) shmat(shmid, NULL, 0);
|
Completed in 1377 milliseconds