2.3.3 errno

Declaration:

int errno;

The errno variable has a value of zero at the beginning of the program. If an error occurs, then this variable is given the value of the error number.