Lines Matching refs:funcs
54 const struct pex_funcs *funcs)
76 obj->funcs = funcs;
129 /* This isn't obj->funcs->close because we got the
131 obj->funcs. Calling close here is just like what
191 in = obj->funcs->open_read (obj, obj->next_input_name,
256 if (obj->funcs->pipe (obj, p, (flags & PEX_BINARY_OUTPUT) != 0) < 0)
269 out = obj->funcs->open_write (obj, outname,
306 if (obj->funcs->pipe (obj, p, (flags & PEX_BINARY_ERROR) != 0) < 0)
323 errdes = obj->funcs->open_write (obj, errname,
344 pid = obj->funcs->exec_child (obj, flags, executable, argv, env,
357 obj->funcs->close (obj, in);
359 obj->funcs->close (obj, out);
361 obj->funcs->close (obj, errdes);
437 if (obj->funcs->pipe (obj, p, binary != 0) < 0)
440 f = obj->funcs->fdopenw (obj, p[WRITE_PORT], binary != 0);
444 obj->funcs->close (obj, p[READ_PORT]);
445 obj->funcs->close (obj, p[WRITE_PORT]);
494 obj->read_output = obj->funcs->fdopenr (obj, o, binary);
509 obj->read_err = obj->funcs->fdopenr (obj, o, binary);
534 if (obj->funcs->wait (obj, obj->children[i], &obj->status[i],
607 obj->funcs->close (obj, obj->next_input);
609 obj->funcs->close (obj, obj->stderr_pipe);
644 if (obj->funcs->cleanup != NULL)
645 obj->funcs->cleanup (obj);