Home
last modified time | relevance | path

Searched refs:shmem (Results 1 – 1 of 1) sorted by relevance

/glibc-2.36/sysvipc/ !
Dtest-sysvshm.c105 int *shmem = shmat (shmid, NULL, 0); in do_test() local
106 if (shmem == (void*) -1) in do_test()
109 shmem[0] = 0x55555555; in do_test()
110 shmem[32] = 0x44444444; in do_test()
111 shmem[64] = 0x33333333; in do_test()
112 shmem[128] = 0x22222222; in do_test()
114 if (shmdt (shmem) == -1) in do_test()
117 shmem = shmat (shmid, NULL, SHM_RDONLY); in do_test()
118 if (shmem == (void*) -1) in do_test()
121 CHECK_EQ (shmem[0], 0x55555555); in do_test()
[all …]