lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Roberto Ierusalimschy wrote:
>
> > errno is an awful mechanism for error reporting.
> 
> I guess we all agree on this point. But does C have another mechanism
> that we could use?

Nothing that I'm aware of.

The point was, one shouldn't export this error reporting mechanism
to lposix via an errno() function.  Lua can do better with multiple
return values.

Ciao, ET.