Searched defs:shm (Results 1 - 2 of 2) sorted by relevance

/sendmail/libsm/
H A Dshm.c11 SM_RCSID("@(#)$Id: shm.c,v 1.20 2013-11-22 20:51:43 ca Exp $")
18 # include <sm/shm.h>
48 void *shm = SM_SHM_NULL; local
59 shm = shmat(*shmid, (void *) 0, 0);
60 if (shm == SM_SHM_NULL)
63 return shm;
67 if (shm != SM_SHM_NULL || *shmid >= 0)
68 sm_shmstop(shm, *shmid, owner);
79 ** shm -- pointer to shared memory.
93 sm_shmstop(shm, shmi
[all...]
H A Dt-shm.c11 SM_RCSID("@(#)$Id: t-shm.c,v 1.23 2013-11-22 20:51:43 ca Exp $")
23 # include <sm/shm.h>
47 int *shm, shmid; local
50 shm = (int *) sm_shmstart(T_SHMKEY, SHMSIZE, 0, &shmid, owner);
51 if (shm == (int *) 0)
62 *shm = 0;
65 ++*shm;
68 --*shm;
74 t = *shm;
77 ++*shm;
115 int *shm, shmid; local
158 int *shm, shmid; local
[all...]

Completed in 1104 milliseconds