lua-users home
lua-l archive

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


On Mon, Nov 28, 2005 at 07:17:08AM -0200, Luiz Henrique de Figueiredo wrote:
> No API function tests anything. In C, you're on your own, as in any
> other C library.

Well, a great many libraries do consistency checks (and a great many
others don't).  eg. open(NULL, O_RDONLY) will return errno EFAULT, not
segfault (at least in Linux).  It's just a design choice.

-- 
Glenn Maynard