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