Subject: Re: An errno for all seasons
To: Christoph Badura <>
From: Matt Thomas <>
List: tech-net
Date: 10/30/1995 18:10:05
In  <> , you wrote:

> John Birrel writes:
> >We're living with a threaded version of NetBSD's libc where errno is thread
> >specific. By changing errno.h to define errno as:
> >extern  int *__error();
> >#define errno (*__error())
> I believe POSIX requires errno to be writeable in order to detect the
> indeterminate cases of sysconf()/pathconf().

And in what is that expression not writeable?

*__error() is a perfectly valid lvalue.

Matt Thomas               Internet:
3am Software Foundry      WWW URL:    <currently homeless>
Westford, MA              Disclaimer: Digital disavows all knowledge
                                      of this message