A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-September/028899.html below:

[Python-Dev] Assign to errno allowed?

[Python-Dev] Assign to errno allowed? [Python-Dev] Assign to errno allowed?Brad Clements bkc@murkworks.com
Tue, 24 Sep 2002 15:04:40 -0400
On 24 Sep 2002 at 20:46, Fredrik Lundh wrote:

> brad 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,                bkc@murkworks.com   (315)268-1000
http://www.murkworks.com                          (315)268-9812 Fax
AOL-IM: BKClements




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4