On 24 Sep 2002 at 20:46, Fredrik Lundh wrote:
(oh, also put "NetWare" in there wherever you see the word CE .. and I suspect some other embedded operating systems running on MMU-less processors that can't virtualize errno and don't have TLS)
that's why the specification says that "errno" might be a macro, and why many platforms define that macro to be something like:
#define errno (*_errno())
Yes, but still on CE you cannot get a pointer to the thread specific errno. You cannot take it's address.
So .. errno is
#define errno GetLastError()
I wish this were not true.
Brad Clements, email@example.com (315)268-1000 http://www.murkworks.com (315)268-9812 Fax AOL-IM: BKClements