小编Saa*_*aad的帖子

当我们通过调用C中的pipe()函数获得两个文件描述符时,管道如何是单向的

我正在阅读管道函数的文档,并且遇到了这个

pipe() creates a pipe, a unidirectional data channel that can be used for interprocess communication
Run Code Online (Sandbox Code Playgroud)

但它返回两个文件描述符。一种用于阅读,一种用于写作。我缺少什么?

c linux pipe

2
推荐指数
1
解决办法
1056
查看次数

标签 统计

c ×1

linux ×1

pipe ×1