Re: When/how is global "errno" variable from reent.c to be used?

Grant Edwards via Newlib <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
On 2020-10-16, Richard Damon <[email protected]> wrote:

> Software the explicitly declares errno as
> extern int errno;
> is broken, and violates the C standard, and creates explicitly stated
> Undefined Behavior.

So the LWIP source is just plain wrong.

What is the global 'int errno' exported by reent.c for?

--
Grant
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.