// This source code is released into the public domain. module; #include export module nihil.core:sys_error; import nihil.std; namespace nihil { // Allow access to errno without having to include . export [[nodiscard]] auto sys_error() -> std::errc { return static_cast(errno); // NOLINT } } // namespace nihil