t_sysv.c | 612 char *shm_buf; local in function:ATF_TC_BODY 658 shm_buf = shmat(sender_shmid, NULL, 0); 659 ATF_REQUIRE_MSG(shm_buf != (void *) -1, "sender: shmat: %d", errno); 664 strcpy(shm_buf, m2_str); 749 void *shm_buf; local in function:sharer 755 shm_buf = shmat(shmid, NULL, 0); 756 if (shm_buf == (void *) -1) 759 printf("%s\n", (const char *)shm_buf); 761 if (strcmp((const char *)shm_buf, m2_str) != 0)
|