[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: My program doesn't speak Portugese!
- From: Alexandre Erwin Ittner <alexandre@...>
- Date: Tue, 23 Feb 2016 18:33:28 -0300
On Tue, Feb 23, 2016 at 6:11 PM, David Given <dg@cowlark.com> wrote:
> What I'd really prefer is an errno (and a set of errno constants). But
> Lua doesn't expose those. Any suggestions?
Lua I/O library only exposes functions provided by ANSI C. You can use
a library with the relevant functions from your OS -- for example,
luaposix for Linux and Unix, which will give you the system calls
(open, access, fstat, etc.), errno, error constants, etc.
Att.
--
Alexandre Erwin Ittner - alexandre@ittner.com.br
OpenPGP pubkey 0x0041A1FB @ http://pgp.mit.edu