I write string to stderr by fprintf(strderr,format strimg, string) and later from other function I need to check if anything was written to stderr.
For this matter, is it ok to just check if stderr is empty? Or maybe ferror(stderr) will do the trick?