Searched defs:ipipe (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libpkg/common/
H A Druncmd.c332 int ipipe[2] = {0, 0}; local
373 if (pipe(ipipe) != 0) {
420 (void) close(ipipe[0]); /* close out pipe reader side */
421 (void) dup2(ipipe[1], STDOUT_FILENO);
422 (void) dup2(ipipe[1], STDERR_FILENO);
440 (void) close(ipipe[1]); /* Close write side of pipe */
452 bytesRead = read(ipipe[0], buffer + bufferIndex,
491 (void) close(ipipe[0]); /* Close read side of pipe */
/osnet-11/usr/src/lib/libinstzones/common/
H A Dzones_exec.c146 int ipipe[2] = {0, 0}; local
194 if (pipe(ipipe) != 0) {
241 (void) close(ipipe[0]); /* close out pipe reader side */
242 (void) dup2(ipipe[1], STDOUT_FILENO);
243 (void) dup2(ipipe[1], STDERR_FILENO);
265 (void) close(ipipe[1]); /* Close write side of pipe */
277 bytesRead = read(ipipe[0], buffer + bufferIndex,
316 (void) close(ipipe[0]); /* Close read side of pipe */
682 int ipipe[2] = {0, 0}; local
761 if (pipe(ipipe) !
[all...]

Completed in 17 milliseconds