Home
last modified time | relevance | path

Searched refs:errdes (Results 1 – 4 of 4) sorted by relevance

/toolchain/binutils/binutils-2.27/libiberty/
Dpex-unix.c495 int in, int out, int errdes, int toclose, in pex_unix_exec_child() argument
504 errdes = out; in pex_unix_exec_child()
515 if (errdes != STDERR_FILE_NO in pex_unix_exec_child()
516 && save_and_install_fd (&save_err, &fl_err, STDERR_FILE_NO, errdes) < 0) in pex_unix_exec_child()
526 if (errdes >= 0) in pex_unix_exec_child()
536 if (errdes > max && errdes != out) in pex_unix_exec_child()
537 close (errdes); in pex_unix_exec_child()
575 if (errdes != STDERR_FILE_NO in pex_unix_exec_child()
593 int in, int out, int errdes, in pex_unix_exec_child() argument
643 if (errdes != STDERR_FILE_NO) in pex_unix_exec_child()
[all …]
Dpex-djgpp.c118 int in, int out, int errdes, in pex_djgpp_exec_child() argument
176 if (errdes != STDERR_FILE_NO in pex_djgpp_exec_child()
186 if (dup2 ((flags & PEX_STDERR_TO_STDOUT) != 0 ? STDOUT_FILE_NO : errdes, in pex_djgpp_exec_child()
193 if (errdes != STDERR_FILE_NO) in pex_djgpp_exec_child()
195 if (close (errdes) < 0) in pex_djgpp_exec_child()
249 if (errdes != STDERR_FILE_NO in pex_djgpp_exec_child()
Dpex-common.c158 int in, out, errdes; in pex_run_in_environment() local
167 errdes = -1; in pex_run_in_environment()
313 errdes = p[WRITE_PORT]; in pex_run_in_environment()
318 errdes = STDERR_FILE_NO; in pex_run_in_environment()
323 errdes = obj->funcs->open_write (obj, errname, in pex_run_in_environment()
326 if (errdes < 0) in pex_run_in_environment()
345 in, out, errdes, toclose, &errmsg, err); in pex_run_in_environment()
360 if (errdes >= 0 && errdes != STDERR_FILE_NO) in pex_run_in_environment()
361 obj->funcs->close (obj, errdes); in pex_run_in_environment()
Dpex-msdos.c159 int errdes ATTRIBUTE_UNUSED, const char **errmsg, in pex_msdos_exec_child()