Searched defs:shm (Results 1 - 3 of 3) sorted by relevance
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | shm.c | 13 SM_RCSID("@(#)$Id: shm.c,v 1.19 2005/07/14 22:34:28 ca Exp $") 20 # include <sm/shm.h> 50 void *shm = SM_SHM_NULL; local 61 shm = shmat(*shmid, (void *) 0, 0); 62 if (shm == SM_SHM_NULL) 65 return shm; 69 if (shm != SM_SHM_NULL || *shmid >= 0) 70 sm_shmstop(shm, *shmid, owner); 81 ** shm -- pointer to shared memory. 95 sm_shmstop(shm, shmi [all...] |
H A D | t-shm.c | 13 SM_RCSID("@(#)$Id: t-shm.c,v 1.22 2005/01/14 02:14:10 ca Exp $") 25 # include <sm/shm.h> 49 int *shm, shmid; local 52 shm = (int *) sm_shmstart(T_SHMKEY, SHMSIZE, 0, &shmid, owner); 53 if (shm == (int *) 0) 64 *shm = 0; 67 ++*shm; 70 --*shm; 76 t = *shm; 79 ++*shm; 117 int *shm, shmid; local 160 int *shm, shmid; local [all...] |
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ |
H A D | doio.c | 34 #include <sys/shm.h> 2186 char *mbuf, *shm; local 2202 shm = (char *)shmat(id, (char*)NULL, (optype == OP_SHMREAD) ? SHM_RDONLY : 0); 2203 if (shm == (char *)-1) /* I hate System V IPC, I really do */ 2212 Copy(shm + mpos, mbuf, msize, char); 2227 Copy(mbuf, shm + mpos, n, char); 2229 memzero(shm + mpos + n, msize - n); 2231 return shmdt(shm); 2233 Perl_croak(aTHX_ "shm I/O not implemented");
|
Completed in 39 milliseconds