sc::SyscallFailed(3)
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. Otherwise0is 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
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms