function
<system_error>

std::system_category

const error_category& system_category() noexcept;
Return system category
Returns a reference to the static object of the error_category type that has the following characteristics:
  • Its name member function returns a pointer to the character sequence "system".
  • Its equivalent member function behaves as specified for its base error_category class.

error_condition objects describing system errors that do not correspond to any of those defined in errc are associated to this category. What constitutes one of these correspondences depends on the operating system and the particular library implementation.

Parameters

none

Return value

A reference to the system error_category object.

See also