繁体   English   中英

POCO C ++库文档中是否有错误?

[英]Is there an error in POCO C++ library documentation?

是令人困惑的页面。 搜索“ / bin / ps”。 该行是:

ProcessHandle ph(launch("/bin/ps", args, &outPipe, 0, 0));

不应该是:

ProcessHandle ph(launch("/bin/ps", args, 0, &outPipe, 0));

是的,您的观察得到了证实-最后三个args的顺序确实是stdin,stdout,stderr,因此文档中的outPipe被错误地传递为输入。 我没有比您更多的想法了,这个文档错误怎么可能没有引起注意!-)

这将在1.3.6中修复。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM