Home | History | Annotate | Download | only in libiberty

Lines Matching defs:new_fd

405   int new_fd, flags;
412 new_fd = -1, flags = 0;
419 new_fd = old_fd;
427 new_fd = fcntl (old_fd, F_DUPFD_CLOEXEC, 3);
428 if (new_fd < 0)
433 new_fd = fcntl (old_fd, F_DUPFD, 3);
434 if (new_fd < 0)
436 if (fcntl (new_fd, F_SETFD, FD_CLOEXEC) < 0)
445 *pnew_fd = new_fd;
446 else if (new_fd != old_fd)