Searched refs:filedes (Results 1 – 3 of 3) sorted by relevance
/haiku/src/add-ons/print/drivers/postscript/ |
H A D | FilterIO.cpp | 105 int filedes[2]; in PipeCommand() local 108 pipe(filedes); dup2(filedes[0], 0); close(filedes[0]); in PipeCommand() 109 in = filedes[1]; // Write to in, appears on cmd's stdin in PipeCommand() 110 pipe(filedes); dup2(filedes[1], 1); close(filedes[1]); in PipeCommand() 111 out = filedes[0]; // Read from out, taken from cmd's stdout in PipeCommand() 112 pipe(filedes); dup2(filedes[1], 2); close(filedes[1]); in PipeCommand() 113 err = filedes[0]; // Read from err, taken from cmd's stderr in PipeCommand()
|
/haiku/src/apps/expander/ |
H A D | ExpanderThread.cpp | 215 int filedes[2]; in PipeCommand() local 218 pipe(filedes); dup2(filedes[1], 1); close(filedes[1]); in PipeCommand() 219 out = filedes[0]; // Read from out, taken from cmd's stdout in PipeCommand() 220 pipe(filedes); dup2(filedes[1], 2); close(filedes[1]); in PipeCommand() 221 err = filedes[0]; // Read from err, taken from cmd's stderr in PipeCommand()
|
/haiku/src/apps/packageinstaller/ |
H A D | PackageItem.cpp | 751 int filedes[2]; in _RunScript() local 754 pipe(filedes); dup2(filedes[0], 0); close(filedes[0]); in _RunScript() 755 int in = filedes[1]; // Write to in, appears on cmd's stdin in _RunScript() 756 pipe(filedes); dup2(filedes[1], 1); close(filedes[1]); in _RunScript() 757 pipe(filedes); dup2(filedes[1], 2); close(filedes[1]); in _RunScript()
|