Home
last modified time | relevance | path

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

/freebsd/tests/sys/file/
H A Dpath_test.c870 int flags, pathfd, pathfd_copy, sd[2]; in ATF_TC_BODY() local
912 pathfd_copy = *(int *)(void *)CMSG_DATA(cmsg); in ATF_TC_BODY()
913 ATF_REQUIRE_MSG(pathfd_copy != pathfd, in ATF_TC_BODY()
917 flags = fcntl(pathfd_copy, F_GETFL); in ATF_TC_BODY()
921 read(pathfd_copy, &c, 1) == -1); in ATF_TC_BODY()
923 write(pathfd_copy, &c, 1) == -1); in ATF_TC_BODY()
926 CHECKED_CLOSE(pathfd_copy); in ATF_TC_BODY()