Searched refs:fd3 (Results 1 - 7 of 7) sorted by relevance
/freebsd-11-stable/tools/regression/sockets/accept_fd_leak/ |
H A D | accept_fd_leak.c | 70 int fd1, fd2, fd3, i, listen_port, s, status; local 134 fd3 = dup(STDIN_FILENO); 135 if (fd3 != fd2 + 2) 136 printf("not ok 1 - (%d, %d, %d)\n", fd1, fd2, fd3); 144 close(fd3); 208 fd3 = dup(STDIN_FILENO); 209 if (fd3 != fd2 + 2) 210 printf("not ok 2 - (%d, %d, %d)\n", fd1, fd2, fd3);
|
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_listener.c | 81 evutil_socket_t fd1 = -1, fd2 = -1, fd3 = -1; local 117 fd1 = fd2 = fd3 = -1; 120 evutil_socket_connect_(&fd3, (struct sockaddr*)&ss2, slen2); 135 if (fd3>=0) 136 EVUTIL_CLOSESOCKET(fd3);
|
H A D | regress_http.c | 862 evutil_socket_t fd1=-1, fd2=-1, fd3=-1; local 912 fd3 = http_connect("127.0.0.1", port); 913 tt_int_op(fd3, >=, 0); 915 bev3 = bufferevent_socket_new(data->base, fd3, 0); 959 if (fd3 >= 0) 960 evutil_closesocket(fd3);
|
/freebsd-11-stable/tools/regression/sockets/unix_gc/ |
H A D | unix_gc.c | 126 close3(int fd1, int fd2, int fd3) argument 130 close(fd3); 134 close4(int fd1, int fd2, int fd3, int fd4) argument 138 close2(fd3, fd4); 142 close5(int fd1, int fd2, int fd3, int fd4, int fd5) argument 145 close3(fd1, fd2, fd3);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
H A D | t_fileactions.c | 302 int fd1, fd2, fd3, status, err; local 318 fd3 = open("/dev/null", O_WRONLY); 319 ATF_REQUIRE(fd3 == 5);
|
/freebsd-11-stable/sbin/sconfig/ |
H A D | sconfig.c | 941 int fd, fd1, fd2, fd3, i; 960 for (i=0, fd3=-1; i<1 && fd3<0; i++) { 962 fd3 = open (buf, 0); 965 if ((fd < 0) && (fd1 < 0) && (fd2 < 0) && (fd3 < 0)) { 994 if (fd3 >= 0) { 995 if (ioctl (fd3, SERIAL_GETREGISTERED, (mask+48)) < 0) { 999 close (fd3);
|
/freebsd-11-stable/tests/sys/fifo/ |
H A D | fifo_io.c | 120 cleanfifo3(const char *fifoname, int fd1, int fd2, int fd3) argument 123 if (fd3 != -1) 124 close(fd3);
|
Completed in 180 milliseconds