errno groveler in C Lassi Kortela (27 Jun 2020 12:03 UTC)
Re: errno groveler in C John Cowan (27 Jun 2020 12:10 UTC)
Re: errno groveler in C Lassi Kortela (27 Jun 2020 12:16 UTC)
Re: errno groveler in C hga@xxxxxx (27 Jun 2020 12:26 UTC)
SRFI directory layout Lassi Kortela (27 Jun 2020 12:40 UTC)
Re: SRFI directory layout hga@xxxxxx (27 Jun 2020 13:42 UTC)
Re: SRFI directory layout Arthur A. Gleckler (27 Jun 2020 20:07 UTC)
Re: SRFI directory layout John Cowan (27 Jun 2020 13:53 UTC)
Re: SRFI directory layout Arthur A. Gleckler (27 Jun 2020 20:01 UTC)
Re: errno groveler in C Arthur A. Gleckler (27 Jun 2020 16:35 UTC)
Re: errno groveler in C hga@xxxxxx (27 Jun 2020 12:21 UTC)
Re: errno groveler in C Lassi Kortela (27 Jun 2020 12:34 UTC)
Re: errno groveler in C Lassi Kortela (27 Jun 2020 13:51 UTC)
Re: errno groveler in C hga@xxxxxx (27 Jun 2020 14:24 UTC)
Re: errno groveler in C Lassi Kortela (27 Jun 2020 14:32 UTC)

Re: errno groveler in C hga@xxxxxx 27 Jun 2020 12:21 UTC

Looks useful.

For my current implementation, I started from the opposite direction,
capturing only the official POSIX errnos from its documentation, then
conditionally compiling out ones that are not supported by a
particular operating system, like System V STREAMS for OpenBSD.  This
of course requires more work, and more cond-expands for every
supported system that doesn't implement the full set.  In reference to
the strerr_r mess I came across someone who aptly described
conditional compilation as leaving skid marks in your code.

- Harold

----- Original message -----
From: Lassi Kortela <xxxxxx@lassi.io>
Date: Saturday, June 27, 2020 7:03 AM

I have a list of all errno values in Linux, Solaris and *BSD. I plugged
that list into this C program that writes out a listing of all the
available ones on the host OS. The program is in the below PR in case
you want to add it the to the SRFI's repo. Feel free to suggest
improvements.

https://github.com/scheme-requests-for-implementation/srfi-198/pull/2