a pipe is a method of connecting the standard output of one process to the standard input of another.
They are half-duplex. Data flows only in one direction.
They can be used only between processes that have a common ancestor. Normally a pipe is created by a process, that process calls fork, and the pipe is used between the parent and child.
(http://www.fanqiang.com)
進入【UNIX論壇】
|