Lines Matching refs:obj
125 pex_wait (struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, in pex_wait()
156 pex_wait (struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, in pex_wait()
167 pex_wait (struct pex_obj *obj ATTRIBUTE_UNUSED, pid_t pid, int *status, in pex_wait()
216 pex_wait (struct pex_obj *obj, pid_t pid, int *status, struct pex_time *time) in pex_wait() argument
220 for (pp = (struct status_list **) &obj->sysdep; in pex_wait()
293 psl->next = (struct status_list *) obj->sysdep; in pex_wait()
294 obj->sysdep = (void *) psl; in pex_wait()
343 pex_unix_open_read (struct pex_obj *obj ATTRIBUTE_UNUSED, const char *name, in pex_unix_open_read()
352 pex_unix_open_write (struct pex_obj *obj ATTRIBUTE_UNUSED, const char *name, in pex_unix_open_write()
364 pex_unix_close (struct pex_obj *obj ATTRIBUTE_UNUSED, int fd) in pex_unix_close()
373 pex_child_error (struct pex_obj *obj, const char *executable, in pex_child_error() argument
378 writeerr (obj->pname); in pex_child_error()
493 pex_unix_exec_child (struct pex_obj *obj ATTRIBUTE_UNUSED, in pex_unix_exec_child()
592 pex_unix_exec_child (struct pex_obj *obj, int flags, const char *executable, in pex_unix_exec_child() argument
633 pex_child_error (obj, executable, "dup2", errno); in pex_unix_exec_child()
635 pex_child_error (obj, executable, "close", errno); in pex_unix_exec_child()
640 pex_child_error (obj, executable, "dup2", errno); in pex_unix_exec_child()
642 pex_child_error (obj, executable, "close", errno); in pex_unix_exec_child()
647 pex_child_error (obj, executable, "dup2", errno); in pex_unix_exec_child()
649 pex_child_error (obj, executable, "close", errno); in pex_unix_exec_child()
654 pex_child_error (obj, executable, "close", errno); in pex_unix_exec_child()
659 pex_child_error (obj, executable, "dup2", errno); in pex_unix_exec_child()
673 pex_child_error (obj, executable, "execvp", errno); in pex_unix_exec_child()
678 pex_child_error (obj, executable, "execv", errno); in pex_unix_exec_child()
730 pex_unix_wait (struct pex_obj *obj, pid_t pid, int *status, in pex_unix_wait() argument
739 if (pex_wait (obj, pid, status, time) < 0) in pex_unix_wait()
752 pex_unix_pipe (struct pex_obj *obj ATTRIBUTE_UNUSED, int *p, in pex_unix_pipe()
761 pex_unix_fdopenr (struct pex_obj *obj ATTRIBUTE_UNUSED, int fd, in pex_unix_fdopenr()
768 pex_unix_fdopenw (struct pex_obj *obj ATTRIBUTE_UNUSED, int fd, in pex_unix_fdopenw()
777 pex_unix_cleanup (struct pex_obj *obj ATTRIBUTE_UNUSED) in pex_unix_cleanup()
780 while (obj->sysdep != NULL) in pex_unix_cleanup()
785 this = (struct status_list *) obj->sysdep; in pex_unix_cleanup()
788 obj->sysdep = (void *) next; in pex_unix_cleanup()