Searched refs:src_pointer (Results 1 – 1 of 1) sorted by relevance
/freebsd/lib/libc/tests/sys/ |
H A D | sendfile_test.c | 283 char *dest_pointer, *src_pointer; in verify_source_and_dest() local 318 src_pointer = mmap(NULL, length, PROT_READ, MAP_PRIVATE, src_fd, offset); in verify_source_and_dest() 319 ATF_REQUIRE_MSG(src_pointer != MAP_FAILED, "mmap failed: %s", in verify_source_and_dest() 322 ATF_REQUIRE_EQ_MSG(0, memcmp(src_pointer, dest_pointer, length), in verify_source_and_dest() 324 src_pointer, dest_pointer); in verify_source_and_dest() 326 (void)munmap(src_pointer, length); in verify_source_and_dest()
|