Searched refs:shmaddr (Results 1 – 1 of 1) sorted by relevance
58 char *shmaddr; in main() local67 shmaddr = shmat(shmid, ADDR, SHMAT_FLAGS); in main()68 if (shmaddr == (char *)-1) { in main()73 printf("shmaddr: %p\n", shmaddr); in main()77 shmaddr[i] = (char)(i); in main()85 if (shmaddr[i] != (char)i) { in main()91 if (shmdt((const void *)shmaddr) != 0) { in main()