HomeSort by: relevance | last modified time | path
    Searched refs:child_fd (Results 1 - 9 of 9) sorted by relevancy

  /src/usr.sbin/rpc.pcnfsd/
pcnfsd_misc.c 409 int parent_fd, child_fd, pid; local
431 child_fd = p[WRITER_FD];
436 if (i != child_fd)
438 if (child_fd != 1) {
439 (void) dup2(child_fd, 1);
440 (void) close(child_fd);
453 close(child_fd);
457 close(child_fd);
  /src/external/gpl3/gcc.old/dist/libiberty/
pex-unix.c 374 saved copy to be close-on-exec. Move CHILD_FD into OLD_FD. If CHILD_FD
378 save_and_install_fd(int *pnew_fd, int *pflags, int old_fd, int child_fd)
388 if (child_fd >= 0 && dup2 (child_fd, old_fd) < 0)
392 else if (child_fd == -1)
398 /* Otherwise we need to save a copy of OLD_FD before installing CHILD_FD. */
414 if (dup2 (child_fd, old_fd) < 0)
  /src/external/bsd/nsd/dist/
ipc.c 192 if(nsd->children[i].child_fd == fd) {
193 nsd->children[i].child_fd = -1;
388 nsd->children[i].child_fd != -1) {
393 if(nsd->children[i].child_fd == -1)
server.c 442 if(nsd->children[i].child_fd != -1)
443 close(nsd->children[i].child_fd);
444 nsd->children[i].child_fd = -1;
467 if (nsd->children[i].child_fd != -1)
468 close(nsd->children[i].child_fd);
474 nsd->children[i].child_fd = sv[0];
481 if (fcntl(nsd->children[i].child_fd, F_SETFL, O_NONBLOCK) == -1) {
493 nsd->children[i].handler->fd = nsd->children[i].child_fd;
501 nsd->children[i].handler->fd = nsd->children[i].child_fd;
522 close(nsd->this_child->child_fd);
    [all...]
nsd.h 182 int child_fd; member in struct:nsd_child
nsd.c 1277 nsd.children[i].child_fd = -1;
  /src/external/gpl3/binutils/dist/libiberty/
pex-unix.c 377 saved copy to be close-on-exec. Move CHILD_FD into OLD_FD. If CHILD_FD
381 save_and_install_fd(int *pnew_fd, int *pflags, int old_fd, int child_fd)
391 if (child_fd >= 0 && dup2 (child_fd, old_fd) < 0)
395 else if (child_fd == -1)
401 /* Otherwise we need to save a copy of OLD_FD before installing CHILD_FD. */
417 if (dup2 (child_fd, old_fd) < 0)
  /src/external/gpl3/binutils.old/dist/libiberty/
pex-unix.c 377 saved copy to be close-on-exec. Move CHILD_FD into OLD_FD. If CHILD_FD
381 save_and_install_fd(int *pnew_fd, int *pflags, int old_fd, int child_fd)
391 if (child_fd >= 0 && dup2 (child_fd, old_fd) < 0)
395 else if (child_fd == -1)
401 /* Otherwise we need to save a copy of OLD_FD before installing CHILD_FD. */
417 if (dup2 (child_fd, old_fd) < 0)
  /src/external/bsd/kyua-cli/dist/utils/process/
child_test.cpp 258 /// \param child_fd The file descriptor to which to attach child_file.
261 const char* child_file, const int child_fd)
269 if (fd != child_fd) {
270 if (::dup2(fd, child_fd) == -1)

Completed in 44 milliseconds