On Thu, Nov 3, 2022 at 11:38 PM Arthur A. Gleckler <[email protected]>
wrote:

Can't the implementation then use that
> errno.h file to generate a correct
> codeset?
>

Yes, it can.  But then the examples

(codeset-symbol 'errno 1) => EPERM(codeset-number 'errno 'EPERM) => 1

aren't going to work.  The whole idea here is that `errno` is the name
of a bidirectionalmapping between symbols and numbers, and it can't
be.  So either
there are separate mappings for linux-errno, bsd-errno, cygwin-errno, zos-errno,
etc., which is not what the SRFI says and is kind of useless, or the
whole idea ofan errno codeset is broken.

Reply via email to