Home | History | Annotate | Download | only in libiberty

Lines Matching defs:new_fd

383   int new_fd, flags;
390 new_fd = -1, flags = 0;
397 new_fd = old_fd;
405 new_fd = fcntl (old_fd, F_DUPFD_CLOEXEC, 3);
406 if (new_fd < 0)
411 new_fd = fcntl (old_fd, F_DUPFD, 3);
412 if (new_fd < 0)
414 if (fcntl (new_fd, F_SETFD, FD_CLOEXEC) < 0)
423 *pnew_fd = new_fd;
424 else if (new_fd != old_fd)