boost::asio::connect_pipe

Connect two pipe ends using an anonymous pipe.

Synopsis

Declared in <boost/asio/connect_pipe.hpp>

template<
    typename Executor1,
    typename Executor2>
boost::system::error_code
connect_pipe(
    basic_readable_pipe<Executor1>& read_end,
    basic_writable_pipe<Executor2>& write_end,
    boost::system::error_code& ec);

Exceptions

Name

Thrown on

boost::system::system_error

Thrown on failure.

Parameters

Name

Description

read_end

The read end of the pipe.

write_end

The write end of the pipe.

ec

Set to indicate what error occurred, if any.

Created with MrDocs