Home | History | Annotate | Download | only in shmt

Lines Matching defs:cp

68 	char *cp = NULL;
97 cp = shmat(shmid, NULL, 0);
99 if (cp == (char *)-1) {
115 *cp = 'A';
116 *(cp + 1) = 'B';
117 *(cp + 2) = 'C';
133 if (shmdt(cp) < 0) {
148 char *cp;
161 cp = shmat(shmid, NULL, 0);
163 if (cp == (char *)-1) {
169 if (*cp != 'A') {
172 if (*(cp + 1) != 'B') {
175 if (*(cp + 2) != 'C') {
178 if (*(cp + 8192) != 0) {