An exception-safe wrapper around a pair of file descriptors from pipe(). More...
#include <rutz/pipe.h>
Public Member Functions | |
pipe_fds () | |
Create a pipe pair of file descriptors. | |
~pipe_fds () throw () | |
Destructor closes both file descriptors. | |
int | reader () const throw () |
int | writer () const throw () |
void | close_reader () throw () |
void | close_writer () throw () |
An exception-safe wrapper around a pair of file descriptors from pipe().
Definition at line 81 of file pipe.h.
rutz::pipe_fds::pipe_fds | ( | ) |
rutz::pipe_fds::~pipe_fds | ( | ) | throw () |