Given a number, as by checking errno or the first argument of a signal
handler, it makes sense to be able to return a symbol, but there is no need
to convert the symbol to a number whose value is machine- and
OS-dependent.  I think for that reason `codeset-number` should be removed
from the SRFI.

On Tue, Dec 13, 2022 at 6:48 AM Lassi Kortela <[email protected]> wrote:

> To explain that the errno and signal symbols are standardized, but the
> corresponding numbers are not, I placed the following descriptions at
> <https://registry.scheme.org/#codesets>:
>
> 'errno -- C/Unix errno values on this machine
>
> 'signal -- C/Unix signals on this machine
>
> We could additionally coin 'errno-linux, 'errno-cygwin, etc. but
> currently I don't see the point.
>

Reply via email to