I was again reading the Reference Part of this Great Site, and found something interesting. The CERRNO, heard is has something to do with c errors. What is it? How is it related to c errors? Can it be used to detect errors in c? how is it used?
It is used with perror(), ferror(), feof() and clearerr() in C (found in <cstdio> in C++ or <stdio.h> in C). For more information on these four functions, see the "Error-handling" section of http://www.cplusplus.com/reference/clibrary/cstdio/