SRFI 198: POSIX system call exceptions

by John Cowan (editor and shepherd) and Harold Ancell (implementer and editor)

status: draft (2020-06-16)

keywords: Error Handling, Operating System

See also SRFI 170: POSIX API and SRFI 199: POSIX errno manipulation.

Abstract

When errors in POSIX system calls are mapped to Scheme exceptions, this small SRFI provides the means to construct, signal, and extract information from those signals in a reasonably uniform way. They are in their own SRFI in order to avoid being tied to any single POSIX-based SRFI such as SRFI 170.