Searched refs:shmid1 (Results 1 - 3 of 3) sorted by relevance
/external/ltp/testcases/kernel/mem/shmt/ |
H A D | shmt05.c | 60 int shmid, shmid1; local 91 if ((shmid1 = shmget(key[1], SIZE, IPC_CREAT | 0666)) < 0) { 94 "Error: shmget: shmid1 = %d, errno = %d\n", 95 shmid1, errno); 97 cp1 = shmat(shmid1, cp + (SIZE / 2), 0); 101 "Error: shmat: shmid1 = %d, addr= %p, errno = %d\n", 102 shmid1, cp1, errno); 111 rm_shm(shmid1);
|
/external/ltp/testcases/kernel/syscalls/kill/ |
H A D | kill05.c | 93 int shmid1 = -1; variable 229 if ((shmid1 = shmget(semkey, getpagesize(), 0666 | IPC_CREAT)) == -1) 232 if ((flag = shmat(shmid1, 0, 0)) == (int *)-1) 234 "Failed to attach shared memory:%d", shmid1); 239 rm_shm(shmid1);
|
H A D | kill07.c | 77 int shmid1; variable 111 if ((shmid1 = shmget(semkey, (int)getpagesize(), 117 if (*(flag = shmat(shmid1, 0, 0)) == -1) { 236 rm_shm(shmid1);
|
Completed in 209 milliseconds