A pair of file descriptors.
swap(fildes_pair & rhs) -> void
Swap with rhs.
close() -> voidClose both file descriptors.
out() const -> const fildes &Get output file descriptor.
in() const -> const fildes &Get input file descriptor.
out() -> fildes &Get output file descriptor.
in() -> fildes &Get input file descriptor.
operator=(fildes_pair & rhs) -> fildes_pair &operator=(fildes_pair && rhs) -> fildes_pair &Move-assignment.
fildes_pair(fildes_pair && rhs)Move-constructor.
fildes_pair(two_way_pipe && pipe)explicit
Construct a pair of file descriptors from bidirectional pipe pipe.
fildes_pair(pipe && pipe)explicit
Construct a pair of file descriptors from pipe pipe.
fildes_pair(fildes && in, fildes && out)
Construct a pair of file descriptors from in and out.
~fildes_pair()fildes_pair()Specialisation of streambuf_traits for fildes_pair.
in_avail(fildes_pair & pair) -> std::streamsize
Check how many bytes are available for reading in input file descriptor of pair.
is_blocking(const fildes_pair & pair) -> boolCheck if the source/sink is blocking.
read(fildes_pair & pair, char_type * s, std::streamsize n) -> std::streamsize
Read n bytes to array pointed by s from input file descriptor pair.
write(fildes_pair & pair, const char_type * s, std::streamsize n) -> std::streamsize
Write n bytes from array pointed by s to output file descriptor of pair.
swap(fildes_pair & lhs, fildes_pair & rhs) -> voidOverload of std::swap for fildes_pair.