Searched refs:new_fd (Results 1 - 2 of 2) sorted by relevance

/bind-9.6-ESV-R11/unit/atf-src/atf-c/
H A Dutils.c364 const int new_fd = open(name, O_WRONLY | O_CREAT | O_TRUNC, 0644); local
365 if (new_fd == -1)
367 if (new_fd != target_fd) {
368 if (dup2(new_fd, target_fd) == -1)
371 close(new_fd);
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dsocket.c2343 SOCKET new_fd; local
2351 new_fd = socket(parent->pf, SOCK_STREAM, IPPROTO_TCP);
2356 nsock->fd = new_fd;

Completed in 36 milliseconds