[Ecls-list] Lisp errors & ERRNO

Tobias C. Rittweiler tcr at freebits.de
Mon Mar 15 17:07:10 UTC 2010


Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> writes:

> On Mon, Mar 15, 2010 at 2:30 PM, Tobias C. Rittweiler <tcr at freebits.de>wrote:
>
>> There's FElibc_error, but there's nothing like that for the Lisp world
>> AFAICS.
>>
>
> I do not think it is safe to assume that the value of "errno" can be
> propagated into the lisp world. It does not even make sense in the C world
> far away from the call that caused the error. The only sensible approach is
> to add that information to a possible condition using c-inline.

Yes, that's what the c-inline in serve-event does, returning the ERRNO.

I'm talking about Lisp sugar on top of strerror for that and similiar
cases.

  -T.





More information about the ecl-devel mailing list