redi::pstreams(3)
π NAME π
redi::pstreams β the common base class that provides constants and typenames π«Ά
It's giving "everyone's mom friend", because basically the whole PStreams fam inherits from it. This page lives in the Library Functions Manual (section 3, the library-calls girlies), and it's the doc for the PStreams library's shared base class. No cap.
β¨ SYNOPSIS β¨
#include <pstream.h>
π Inherited by
Bestie. Sit down. The list is long and we're getting through all of it, because every single one of these is a real child class and we don't skip:
redi::basic_ipstream< char >[virtual]redi::basic_opstream< char >[virtual]redi::basic_pstream< char >[virtual]redi::basic_pstreambuf< CharT, Traits >redi::basic_pstreambuf< char >redi::basic_pstreambuf< CharT, std::char_traits< CharT > >redi::basic_rpstream< char >[virtual]redi::pstream_common< CharT, Traits >[virtual]redi::pstream_common< CharT, std::char_traits< CharT > >[virtual]redi::basic_ipstream< CharT, Traits >[virtual]redi::basic_opstream< CharT, Traits >[virtual]redi::basic_pstream< CharT, Traits >[virtual]redi::basic_pstreambuf< CharT, Traits >redi::basic_rpstream< CharT, Traits >[virtual]redi::pstream_common< CharT, Traits >[virtual]
Yes, a couple of these show up more than once. That's what the original says, so that's what you're getting. We do not edit the sacred list π
π Public Types
typedef std::ios_base::openmodepmodeβ the type you use to say how you wanna connect to the process. It's the vibe-setter for your pipe. β¨typedef std::vector< std::string >argv_typeβ the type that holds the arguments for a command. All your little command-line besties go in here. πtypedef intfd_typeβ the type used for file descriptors. Plain oldint, humble but iconic. π
β Static Public Attributes
static const pmode pstdin = std::ios_base::outβ write to stdin. (Yes, writing to stdin, that's the assignment, don't fight it π«Ά)static const pmode pstdout = std::ios_base::inβ read from stdout. πstatic const pmode pstderr = std::ios_base::appβ read from stderr. πstatic const pmode newpg = std::ios_base::truncβ create a new process group for the child process. New group, who dis. π₯
π¦ Protected Types
enum { bufsz = 32, pbsz = 2 }
Protected means the outside world doesn't get to touch these, they're for the family only. Keep it in the group chat, iykyk.
πΈ Detailed Description πΈ
Common base class providing constants and typenames.
That's the whole description bestie. It's short but it's doing a LOT of emotional labour for the entire class hierarchy. Main character energy. π
π§ Member Enumeration Documentation π§
π« anonymous enum [protected]
This enum has no name (mysterious! ethereal! anonymous! π) and it's protected, so it's strictly for the inner circle.
Enumerator
bufszβ size ofpstreambufbuffers. It's32. β¨pbszβ number of putback characters kept. It's2. π
π Author π
Generated automatically by Doxygen for PStreams from the source code.
So likeβ¦ nobody wrote this, a robot did. And honestly? Slay, Doxygen. π€π
Okay that's the whole page bestie!! Go forth and inherit responsibly!! π«Άπβ¨
This was page redi::pstreams(3) from the PStreams library β generated automatically by Doxygen for PStreams from the source code. Byeee, love u, read your man pages!! πππ
π¦ where this page comes from
- ubuntu resolute: libpstreams-dev 1.0.4-2 Β· BSL-1.0
- ubuntu stonking: libpstreams-dev 1.0.4-2 Β· BSL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms