std1.0.0-beta-7 SafeC docs

Module errno

#include <std/errno.h> source

errno (C11 <errno.h>) Access the thread-local errno value and error descriptions.

Functions

errno_get
errno_setSet errno explicitly (rarely needed).
errno_strReturn a static string describing the error code (wraps strerror).
errno_printPrint "prefix: <error description>" to stderr.