Searched refs:ipipe (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_exec.c147 int ipipe[2] = {0, 0}; local
195 if (pipe(ipipe) != 0) {
242 (void) close(ipipe[0]); /* close out pipe reader side */
243 (void) dup2(ipipe[1], STDOUT_FILENO);
244 (void) dup2(ipipe[1], STDERR_FILENO);
266 (void) close(ipipe[1]); /* Close write side of pipe */
278 bytesRead = read(ipipe[0], buffer + bufferIndex,
317 (void) close(ipipe[0]); /* Close read side of pipe */
683 int ipipe[2] = {0, 0}; local
762 if (pipe(ipipe) !
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Druncmd.c309 int ipipe[2] = {0, 0}; local
350 if (pipe(ipipe) != 0) {
397 (void) close(ipipe[0]); /* close out pipe reader side */
398 (void) dup2(ipipe[1], STDOUT_FILENO);
399 (void) dup2(ipipe[1], STDERR_FILENO);
417 (void) close(ipipe[1]); /* Close write side of pipe */
429 bytesRead = read(ipipe[0], buffer + bufferIndex,
468 (void) close(ipipe[0]); /* Close read side of pipe */
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c728 int ipipe[2], opipe[2], ok; local
730 if (pipe(ipipe) < 0 || pipe(opipe) < 0)
733 ok = device_script(ptycommand, opipe[0], ipipe[1], 1,
734 "record") == 0 && start_charshunt(ipipe[0], opipe[1]);
735 (void) close(ipipe[0]);
736 (void) close(ipipe[1]);

Completed in 52 milliseconds