Lines Matching refs:sockpair
286 int error, sock, sockpair[2], status;
307 ATF_REQUIRE_EQ(0, socketpair(PF_UNIX, SOCK_STREAM, 0, sockpair));
312 close(sockpair[SP_PARENT]);
313 sock = sockpair[SP_CHILD];
318 sock = sockpair[SP_PARENT];
319 close(sockpair[SP_CHILD]);
590 int sockpair[2];
599 ATF_REQUIRE_EQ(0, socketpair(PF_UNIX, SOCK_STREAM, 0, sockpair));
606 sock = sockpair[SP_CHILD];
607 close(sockpair[SP_PARENT]);
612 close(sockpair[SP_CHILD]);
613 sock = sockpair[SP_PARENT];