Searched refs:stdOutput (Results 1 – 2 of 2) sorted by relevance
/aoo41x/main/sal/osl/unx/ |
H A D | process.c | 432 int stdOutput[2] = { -1, -1 }, stdInput[2] = { -1, -1 }, stdError[2] = { -1, -1 }; in ChildStatusProc() local 453 if (pipe( stdOutput ) == -1) in ChildStatusProc() 507 if (stdOutput[0] != -1) close( stdOutput[0] ); in ChildStatusProc() 520 if ( stdOutput[1] != STDOUT_FILENO ) in ChildStatusProc() 522 dup2( stdOutput[1], STDOUT_FILENO ); in ChildStatusProc() 523 if (stdOutput[1] != -1) close( stdOutput[1] ); in ChildStatusProc() 556 if (stdOutput[1] != -1) close( stdOutput[1] ); in ChildStatusProc() 585 *(pdata->m_pOutputRead) = osl_createFileHandleFromFD( stdOutput[0] ); in ChildStatusProc() 654 if (stdOutput[0] != -1) close( stdOutput[0] ); in ChildStatusProc()
|
/aoo41x/main/sal/osl/os2/ |
H A D | process.c | 221 int stdOutput[2] = { -1, -1 }, stdInput[2] = { -1, -1 }, stdError[2] = { -1, -1 }; in osl_executeProcess_WithRedirectedIO() local 227 pipe( stdOutput); in osl_executeProcess_WithRedirectedIO() 233 fcntl( stdOutput[0], F_SETFD, FD_CLOEXEC); in osl_executeProcess_WithRedirectedIO() 234 fcntl( stdOutput[1], F_SETFD, FD_CLOEXEC); in osl_executeProcess_WithRedirectedIO() 245 dup2( stdOutput[1], STDOUT_FILENO ); in osl_executeProcess_WithRedirectedIO() 246 close( stdOutput[1] ); in osl_executeProcess_WithRedirectedIO() 269 *(pOutputRead) = osl_createFileHandleFromFD( stdOutput[0] ); in osl_executeProcess_WithRedirectedIO()
|
Completed in 40 milliseconds