devel/pstreams 1.0.4 DragonFly
C++ utility for simple IOStream-based IPC
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- BSL
- Categories
- devel
- Package size
- 14.0 KiB, 75.5 KiB installed
Description
PStreams allows you to run another program from your C++ application and to transfer data between the two programs similar to shell pipelines.
In the simplest case, a PStreams class is like a C++ wrapper for the POSIX.2 functions popen(3) and pclose(3), using C++ iostreams instead of C's stdio library.
The library provides class templates in the style of the standard iostreams that can be used with any ISO C++ compiler on a POSIX platform. The classes use a streambuf class that uses fork(2) and the exec(2) family of functions to create a new process and creates up to three pipes to write/read data to/from the process.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | devel/pstreams | 1.0.4 |
| FreeBSD | devel/pstreams | 1.0.4 |
| NetBSD | devel/pstreams | 1.0.3 |
| HardenedBSD | devel/pstreams | 1.0.4 |
| GhostBSD | devel/pstreams | 1.0.4 |
Install
Binary package:
pkg install pstreams
From DPorts:
cd /usr/dports/devel/pstreams && make install clean
Dependencies
No port depends on this one.