Home
last modified time | relevance | path

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

/toolchain/binutils/binutils-2.25/libiberty/
Dpex-unix.c496 int in, int out, int errdes, int toclose, in pex_unix_exec_child() argument
505 errdes = out; in pex_unix_exec_child()
516 if (errdes != STDERR_FILE_NO in pex_unix_exec_child()
517 && save_and_install_fd (&save_err, &fl_err, STDERR_FILE_NO, errdes) < 0) in pex_unix_exec_child()
527 if (errdes >= 0) in pex_unix_exec_child()
537 if (errdes > max && errdes != out) in pex_unix_exec_child()
538 close (errdes); in pex_unix_exec_child()
576 if (errdes != STDERR_FILE_NO in pex_unix_exec_child()
594 int in, int out, int errdes, in pex_unix_exec_child() argument
644 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-win32.c758 int in, int out, int errdes, in pex_win32_exec_child() argument
783 orig_err = errdes; in pex_win32_exec_child()
784 errdes = _dup (orig_err); in pex_win32_exec_child()
794 stderr_handle = (HANDLE) _get_osfhandle (errdes); in pex_win32_exec_child()
884 _close (errdes); in pex_win32_exec_child()
Dpex-msdos.c159 int errdes ATTRIBUTE_UNUSED, const char **errmsg, in pex_msdos_exec_child()