errno.cpp
Go to the documentation of this file.
1 //
2 // errno.cpp
3 //
4 // Defines errno. This is required because a multithreaded build
5 // does not know anything about errno as a global variable. Rather
6 // it uses a function. While this assures correct programs, it does
7 // mean that it can be difficult to link a single threaded guy
8 // to a multithreaded app.
9 //
10 
11 extern "C" {
12  int errno = 0;
13 }
14 
int errno
Definition: errno.cpp:12