sc::SyscallFailed(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

NAME

sc::SyscallFailed(3) is the manual page for sc::SyscallFailed β€” an MPQC situation where the exception gets thrown when a system call fails with an errno. No cap, that's the whole assignment. 🫢

SYNOPSIS

#include <scexception.h>

Inherits sc::SystemException. πŸ’œ

Public Member Functions

  • SyscallFailed (const char *description=0, const char *source_file=0, int line=0, const char *syscall=0, int err=0, const ClassDesc *class_desc=0, const char *exception_type='SyscallFailed') throw () β€” the main constructor, with every parameter and default exactly as written. Iconic long-signature energy. ✨
  • SyscallFailed (const SyscallFailed &) throw () β€” copy constructor. Slay. πŸŽ€
  • const char * syscall () const throw () β€” returns the file name of the file that caused the error, if known. Otherwise 0 is returned.
  • int err () const throw () β€” it's real and it's in the list, but the docs don't give it its own separate description. Respectfully mysterious. πŸ’…

Detailed Description

This is thrown when a system call fails with an errno. That's the entire detailed description, bestie β€” short, direct, and absolutely not wasting your time. 🌸

Member Function Documentation

const char* sc::SyscallFailed::syscall () const [inline]

Returns the file name of the file that caused the error, if known. Otherwise 0 is returned. Yes, that's what the doc says, and we are honoring it exactly. 😭

Author

Generated automatically by Doxygen for MPQC from the source code. πŸŽ€


Final footer energy, bestie: version 2.3.1, dated Sun Oct 4 2020. Stay slay and handle those errnos responsibly πŸ’–βœ¨πŸ’…

πŸ“¦ where this page comes from