Algol 68 POSIX and errno procedure request for advice

chris hermansen clhermansen@gmail.com
Fri Jun 5 17:35:07 GMT 2026


Good day everyone,

I am coding up more of the transput now that I seem to have found a way to
ease myself into it and as I mentioned previously I intend to base it on
the POSIX interface to the extent possible.

To this end, I see we have procedures errno, which yields the numeric POSIX
error number, and strerror, which "yields a string containing an
explanatory short description of the error".

>From my long-ago days of writing a bit of C, I recall preferring the
symbolic error code such as EACCES.

What approach should I use in GNU Algol 68 since constants such as EACCES
are not defined?

-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/algol68/attachments/20260605/95e48e60/attachment.htm>


More information about the Algol68 mailing list