Searched refs:shm_buf (Results 1 - 2 of 2) sorted by relevance
/freebsd-13-stable/tools/regression/sysvshm/ |
H A D | shmtest.c | 72 char *shm_buf; local 137 if ((shm_buf = shmat(sender_shmid, NULL, 0)) == (void *) -1) 143 strcpy(shm_buf, m_str); 268 void *shm_buf; local 273 if ((shm_buf = shmat(shmid, NULL, 0)) == (void *) -1) 276 printf("%s\n", (const char *)shm_buf); 277 if (strcmp((const char *)shm_buf, m_str) != 0)
|
/freebsd-13-stable/contrib/netbsd-tests/kernel/ |
H A D | t_sysv.c | 675 char *shm_buf; local 732 shm_buf = shmat(sender_shmid, NULL, 0); 733 ATF_REQUIRE_MSG(shm_buf != (void *) -1, "sender: shmat: %d", errno); 738 strcpy(shm_buf, m2_str); 836 void *shm_buf; local 841 shm_buf = shmat(shmid, NULL, 0); 842 ATF_REQUIRE_MSG(shm_buf != (void *) -1, "receiver: shmat: %d", errno); 844 printf("%s\n", (const char *)shm_buf); 846 ATF_REQUIRE_MSG(strcmp((const char *)shm_buf, m2_str) == 0, 862 char *shm_buf; local [all...] |
Completed in 41 milliseconds