Error code: Difference between revisions

Content deleted Content added
Emperorbma (talk | contribs)
convert to source tag
Emperorbma (talk | contribs)
m remove stray period
Line 31:
It was common in traditional C to declare errno manually (i.e., extern int errno) instead of including <errno.h>. It will not work with modern versions of the C library. However, on (very) old Unix systems, there may be no <errno.h> and the declaration is needed.
 
In such situations, the source code must be modified to replace all <code>extern int errno</code> lines with a single include <source lang="c">#include <errno.h></source>.
 
==See also==