lua-users home
lua-l archive

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


On Thu, 27 Aug 2009, Sam Roberts wrote:
>
> I would assumed the documented behaviour on Linux
>   EINVAL The mode provided to fopen(), fdopen(), or freopen() was invalid.
> Would be the ANSI defined behaviour.

Standard C has a surprisingly small number of errno values: just EDOM
and ERANGE (for maths) and EILSEQ (for multibyte characters).

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/
GERMAN BIGHT HUMBER: SOUTHWEST 5 TO 7. MODERATE OR ROUGH. SQUALLY SHOWERS.
MODERATE OR GOOD.