Searched refs:shmFd (Results 1 - 1 of 1) sorted by relevance
/kernel/liteos_a/testsuites/unittest/basic/exc/full/ |
H A D | it_test_fexecve_001.cpp | 52 int shmFd = 0; in TestCase() local 56 shmFd = shm_open("wurstverschwendung", O_RDWR | O_CREAT, 0777); in TestCase() 57 if (shmFd == -1) { in TestCase() 65 close(shmFd); in TestCase() 69 printf("shm_fd=%d,st.st_size=%lld\n", shmFd, st.st_size); in TestCase() 70 rc = ftruncate(shmFd, st.st_size); in TestCase() 73 close(shmFd); in TestCase() 77 p = mmap(nullptr, st.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, shmFd, 0); in TestCase() 80 close(shmFd); in TestCase() 89 close(shmFd); in TestCase() [all...] |
Completed in 1 milliseconds