Hi All,
Is there a way to read standard error.
I am working on embedded sql in c. some XXXX Function is returning error to standard error, How can i capture this
stderr to a string or to some temporary file?
I tried to redirect the output to a file but the error message is not found in the redirected file insted its still displaying on the console.
for ex ./testfile > test.out
Is there a way to capture/assign/write the stderr from a function to a string/file?
Thanks for your help.,
Is there a way to read standard error.
I am working on embedded sql in c. some XXXX Function is returning error to standard error, How can i capture this
stderr to a string or to some temporary file?
I tried to redirect the output to a file but the error message is not found in the redirected file insted its still displaying on the console.
for ex ./testfile > test.out
Is there a way to capture/assign/write the stderr from a function to a string/file?
Thanks for your help.,