Searched refs:child_pair (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress.c | 878 int child_pair[2] = { -1, -1 }; variable 886 if (write(child_pair[0], "", 1) < 0) in simple_child_read_cb() 933 if (evutil_socketpair(AF_UNIX, SOCK_STREAM, 0, child_pair) == -1) { in test_fork() 938 if (evutil_make_socket_nonblocking(child_pair[0]) == -1) { in test_fork() 995 if (read(child_pair[1], &c, 1) < 0) { in test_fork() 1023 if (child_pair[0] != -1) in test_fork() 1024 evutil_closesocket(child_pair[0]); in test_fork() 1025 if (child_pair[1] != -1) in test_fork() 1026 evutil_closesocket(child_pair[1]); in test_fork()
|
/freebsd/contrib/libevent/test/ |
H A D | regress.c | 878 int child_pair[2] = { -1, -1 }; variable 886 if (write(child_pair[0], "", 1) < 0) in simple_child_read_cb() 933 if (evutil_socketpair(AF_UNIX, SOCK_STREAM, 0, child_pair) == -1) { in test_fork() 938 if (evutil_make_socket_nonblocking(child_pair[0]) == -1) { in test_fork() 995 if (read(child_pair[1], &c, 1) < 0) { in test_fork() 1023 if (child_pair[0] != -1) in test_fork() 1024 evutil_closesocket(child_pair[0]); in test_fork() 1025 if (child_pair[1] != -1) in test_fork() 1026 evutil_closesocket(child_pair[1]); in test_fork()
|