Lines Matching refs:funcs
54 const struct pex_funcs *funcs)
74 obj->funcs = funcs;
127 /* This isn't obj->funcs->close because we got the
129 obj->funcs. Calling close here is just like what
189 in = obj->funcs->open_read (obj, obj->next_input_name,
254 if (obj->funcs->pipe (obj, p, (flags & PEX_BINARY_OUTPUT) != 0) < 0)
267 out = obj->funcs->open_write (obj, outname,
292 errdes = obj->funcs->open_write (obj, errname, 0);
311 pid = obj->funcs->exec_child (obj, flags, executable, argv, env,
324 obj->funcs->close (obj, in);
326 obj->funcs->close (obj, out);
328 obj->funcs->close (obj, errdes);
404 if (obj->funcs->pipe (obj, p, binary != 0) < 0)
407 f = obj->funcs->fdopenw (obj, p[WRITE_PORT], binary != 0);
411 obj->funcs->close (obj, p[READ_PORT]);
412 obj->funcs->close (obj, p[WRITE_PORT]);
461 obj->read_output = obj->funcs->fdopenr (obj, o, binary);
488 if (obj->funcs->wait (obj, obj->children[i], &obj->status[i],
558 obj->funcs->close (obj, obj->next_input);
594 if (obj->funcs->cleanup != NULL)
595 obj->funcs->cleanup (obj);