Re: function question
- From: Måns Rullgård <mans@xxxxxxxxx>
- Date: Thu, 03 May 2012 20:48:25 +0100
Volker Birk <bumens@xxxxxxxxxxx> writes:
Rainer Weikusat <rweikusat@xxxxxxxxxxx> wrote:
Volker Birk <bumens@xxxxxxxxxxx> writes:
Bill Cunningham <nospam@xxxxxxxxxxxxx> wrote:Both C99 and UNIX(*) demand that errno 'expands to a modifiable lvalue
errno = 0;You shouldn't set errno yourself. The behaviour is undefined.
of type int'.
Yes, the old ones. Please read The Open Group Base Specifications Issue
7, IEEE Std 1003.1-2008.
Issue 7 says exactly "The symbol errno shall expand to a modifiable
lvalue of type int." That's close enough to what Rainer wrote not to
bicker about it.
--
Måns Rullgård
mans@xxxxxxxxx
.
- References:
- function question
- From: Bill Cunningham
- Re: function question
- From: Volker Birk
- Re: function question
- From: Rainer Weikusat
- Re: function question
- From: Volker Birk
- function question
- Prev by Date: Re: function question
- Next by Date: Re: function question
- Previous by thread: Re: function question
- Next by thread: Re: function question
- Index(es):
Relevant Pages
|