Home
last modified time | relevance | path

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

/freebsd/lib/libc/tests/sys/
H A Dsendfile_test.c405 char *shm_pointer; in fd_positive_shm_test() local
419 shm_pointer = mmap(NULL, pattern_size, PROT_READ|PROT_WRITE, in fd_positive_shm_test()
421 ATF_REQUIRE_MSG(shm_pointer != MAP_FAILED, in fd_positive_shm_test()
423 memcpy(shm_pointer, DETERMINISTIC_PATTERN, pattern_size); in fd_positive_shm_test()
425 memcmp(shm_pointer, DETERMINISTIC_PATTERN, pattern_size), in fd_positive_shm_test()
427 DETERMINISTIC_PATTERN, shm_pointer); in fd_positive_shm_test()
451 (void)munmap(shm_pointer, sizeof(DETERMINISTIC_PATTERN)); in fd_positive_shm_test()