Dec 3, 2012 at 12:53pm
Hi,
I want to redirect the output of perror
to a file. What is the best way to do that?
Dec 4, 2012 at 5:50am
You mean I can use this statement in a C++ program?
Dec 4, 2012 at 6:37am
You're asking the wrong question.
Use strerror to write the text to a buffer, then you do what you like with it.
Dec 4, 2012 at 8:27am
interesting discussion ... i have no any idea...