serial.h(3)
π serial.h(3) β it's giving "Library Functions Manual" energy β¨
okay bestie, so this is the man page for serial.h, straight out of the Library Functions Manual β GNU CommonC++ edition, no less. it's a C++ header, and it's here to give you all the serial I/O services you could ever want. let's get into it π«Ά
β¨ NAME β¨
serial.h β Serial I/O services. that's it, that's the vibe. π
πΈ SYNOPSIS πΈ
#include <cc++/missing.h>
#include <cc++/thread.h>
#include <cc++/exception.h>
like, include all three, bestie. don't skip any. β¨
π Classes
class ost::Serialβ the blueprint, the blueprintiest blueprint.Serialis the base class for all serial I/O services under APE. everything else is basically standing on its shoulders fr fr.class ost::TTYStreamβ TTY streams are for serial connections that are fully "streamable" objects, meaning they play nice with C++ stream classes and all their friends. iconic behaviour honestly.class ost::ttystreamβ lowercasettystream, the more natural C++ttystreamclass, specifically for non-threaded applications. for the lowkey girlies who don't wanna deal with threads πclass ost::TTYSessionβ this one aggragates aTTYStreamand a Common C++Thread, which is assumed to be the execution context used to actually perform the I/O operations. it's a package deal πclass ost::SerialPortβ the serial port is an internal class that gets attached to a specifiedSerialServicethread and then serviced by it. attached and serviced, periodt.class ost::SerialServiceβ theSerialServiceis a thread service object whose whole job is servicing attached serial ports. it's the main character of the thread pool π
π¦ Namespaces
ost
π Macros
#define INVALID_HANDLE_VALUE (-1)
π Typedefs
typedef int HANDLE
π Variables
class __EXPORT ost::SerialPortclass __EXPORT ost::SerialService
π Detailed Description π
Serial I/O services. short, sweet, and literally the entire point of this header. β¨
π§ Macro Definition Documentation π§
#define INVALID_HANDLE_VALUE (-1)
yeah so INVALID_HANDLE_VALUE is defined as (-1). that's the whole entry. no notes. π
π Typedef Documentation π
typedef int HANDLE
HANDLE is just an int. that's it. that's the typedef. iconic minimalism, honestly π
π Author π
Generated automatically by Doxygen for GNU CommonC++ from the source code. so like, not a human, a robot did this. respect. π€π
and that's a wrap bestie!! this page came to you courtesy of GNU CommonC++, dated Sun Dec 27 2020 β so go forth, wire up those serial ports, and slay ππ¦β¨
π¦ where this page comes from
- ubuntu jammy: libcommoncpp2-doc 1.8.1-10
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms