---
name: "redi_pstreams"
section: "3"
platform: "linux"
package: "libpstreams-dev"
version: "1.0.3-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/redi_pstreams"
---

# redi\_pstreams(3)

Common base class providing constants and typenames

## NAME

redi::pstreams - Common base class providing constants and typenames

## SYNOPSIS

`#include <pstream.h>`

Inherited by **redi::basic\_pstreambuf\< CharT, std::char\_traits\< CharT \> \>**, **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]`, and **redi::pstream\_common\< CharT, Traits \>**` [virtual]`.

### Public Types

typedef std::ios\_base::openmode **pmode**\
 Type used to specify how to connect to the process.  typedef std::vector\< std::string \> **argv\_type**\
 Type used to hold the arguments for a command.  typedef int **fd\_type**\
 Type used for file descriptors.

### Static Public Attributes

static const **pmode** **pstdin** = std::ios\_base::out\
 Write to stdin.  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.

### Protected Types

enum { **bufsz** = 32 }\
 enum { **pbsz** = 2 }\

## Detailed Description

Common base class providing constants and typenames.

## Author

Generated automatically by Doxygen for PStreams from the source code.
