开发者

Why is there not a wiki on pipes? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answe开发者_运维百科red in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 12 years ago.

I am reading the C programing guide and all of a sudden it starts talking about pipes. Can someone simply tell me what a pipe is.


They are OS objects appearing as file descriptors in different processes, allowing output of one to be the input of the other. Read here.


You want to read Beej's IPC Guide, specifically the pipe section.

There is no form of IPC that is simpler than pipes. Implemented on every flavor of Unix, pipe() and fork() make up the functionality behind the "|" in "ls | more". They are marginally useful for cool things, but are a good way to learn about basic methods of IPC.

Also check the other guides at http://beej.us/guide/.


Most likely, this means a Pipeline as in the context of Unix-like operating systems, see Pipeline (Unix) in Wikpedia. It is a chain of processes with the output of one process being the input to the next one.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜