Documentation Error?

Michael Grant mickgr at drahthaar.clara.net
Wed Apr 5 21:53:43 BST 2000


Minor glitch in C/C++ documentation.

Entry for popen():-

Notes gives method of catching STDERR as

        FILE* fp = popen("ls -l 2>&1", "w");

Should it not be

        FILE* fp = popen("ls -l 2>&1", "r");  

if you want to see the output??

regards

Mick




More information about the KDevelop mailing list