system_error(3)

πŸ“¦ version 4.4.0, in nixpkgs unstable

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 the std namespace, 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