Searched refs:shmaddr (Results 1 – 3 of 3) sorted by relevance
/DragonOS/user/apps/test_shm/ |
H A D | receiver.c | 15 char *shmaddr; in main() local 27 shmaddr = shmat(shmid, 0, 0); in main() 30 memcpy(read_buf, shmaddr, 14); in main() 34 memset(shmaddr, 0, SHM_SIZE); in main() 35 memcpy(shmaddr, "Reveiver Hello!", 16); in main() 37 shmdt(shmaddr); in main()
|
H A D | sender.c | 15 char *shmaddr; in main() local 27 shmaddr = shmat(shmid, 0, 0); in main() 29 memset(shmaddr, 0, SHM_SIZE); in main() 30 memcpy(shmaddr, "Sender Hello!", 14); in main() 41 memcpy(read_buf, shmaddr, 16); in main() 44 shmdt(shmaddr); in main()
|
H A D | test_info.c | 40 char *shmaddr; in main() local 52 shmaddr = shmat(shmid, 0, 0); in main()
|