22#ifndef LELY_IO_PIPE_HPP_
23#define LELY_IO_PIPE_HPP_
26#error "include <lely/io/pipe.h> for the C interface"
46 operator=(
const IOPipe& pipe)
noexcept {
47 IOHandle::operator=(pipe);
52 operator=(
IOPipe&& pipe)
noexcept {
53 IOHandle::operator=(::std::forward<IOPipe>(pipe));
58 open(
IOPipe pipe[2])
noexcept {
61 pipe[0] =
IOPipe(handle_vector[0]);
62 pipe[1] =
IOPipe(handle_vector[1]);
A pipe I/O device handle.
This header file is part of the I/O library; it contains the C++ interface of the I/O device handle.
This header file is part of the I/O library; it contains the pipe declarations.
int io_open_pipe(io_handle_t handle_vector[2])
Opens a pipe.