system_error(3)
system_error(3) π
okay bestie, welcome to system_error(3) from the Library Functions Manual β aka the standard C++ system-error corner of the group chat. it's giving header-only royalty, and we're gonna read it together without skipping a single line. β¨
πΈ NAME πΈ
system_error β and that's literally it, bestie. the original manpage leaves the description blank, so I'm not out here inventing lore. π
β¨ SYNOPSIS β¨
π«Ά Classes
the whole cast, looking iconic:
class std::error_category
error_category
struct std::error_code
error_code
struct std::error_condition
error_condition
struct std::is_error_code_enum< _Tp >
is_error_code_enum
struct std::is_error_condition_enum< _Tp >
is_error_condition_enum
class std::system_error
Thrown to indicate error code of underlying system.
π Namespaces
namespace stdβ yes bestie, it's thestdnamespace, no cap.
π Defines
#define _GLIBCXX_SYSTEM_ERRORβ the define, periodt.
π Functions
here's the full function lineup, copied exactly so nobody @s me about signatures later:
const error_category & std::generic_category ()
error_code std::make_error_code (errc __e)
error_condition std::make_error_condition (errc __e)
bool std::operator!= (const error_condition &__lhs, const
error_condition &__rhs)
bool std::operator!= (const error_condition &__lhs, const error_code
&__rhs)
bool std::operator!= (const error_code &__lhs, const error_condition
&__rhs)
bool std::operator!= (const error_code &__lhs, const error_code &__rhs)
bool std::operator< (const error_condition &__lhs, const error_condition
&__rhs)
bool std::operator< (const error_code &__lhs, const error_code &__rhs)
template<typename _CharT , typename _Traits > basic_ostream< _CharT,
_Traits > & std::operator<< (basic_ostream< _CharT, _Traits > &__os,
const error_code &__e)
bool std::operator== (const error_condition &__lhs, const
error_condition &__rhs)
bool std::operator== (const error_condition &__lhs, const error_code
&__rhs)
bool std::operator== (const error_code &__lhs, const error_condition
&__rhs)
bool std::operator== (const error_code &__lhs, const error_code &__rhs)
const error_category & std::system_category ()
π Detailed Description π
okay so the detailed description is literally two lines, and I'm keeping both, bestie:
This is a Standard C++ Library header. Definition in file system_error.
that's the whole vibe. no extra side quests. π¦
π Author π
Generated automatically by Doxygen for libstdc++ from the source code.
no cap, that's the entire author section. π«Ά
xoxo, bestie β this page came from libstdc++, dated 21 Apr 2009, and it's literally system_error(3). byeee π
π¦
π¦ where this page comes from
- nixpkgs unstable: std-man-pages 4.4.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms