Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct stream_ends

boost::process::stream_ends

Synopsis

// In header: <boost/process/stream_ends.hpp>


struct stream_ends {
  // construct/copy/destruct
  stream_ends();
  stream_ends(handle, handle);
  handle child;
  handle parent;
};

Description

A pair of handles to configure streams.

Stream behaviors return a pair of handles to specify how a child's stream should be configured and possibly the opposite end of a child's end. This is the end remaining in the parent process and which can be used for example to communicate with a child process through its standard streams.

stream_ends public construct/copy/destruct

  1. stream_ends();

    Standard constructor creating two invalid handles.

  2. stream_ends(handle c, handle p);

    Helper constructor to easily initialize handles.


PrevUpHomeNext