diff options
author | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-15 17:10:40 +0800 |
---|---|---|
committer | Cheer Xiao <xiaqqaix@gmail.com> | 2013-01-17 15:55:05 +0800 |
commit | e020ad0c068861325dca1655cb0ed487a22b67c5 (patch) | |
tree | d85c95a931bd61ff11de9dddfddf466cde60c155 /io.h | |
parent | df0c1eb32c93ea72318f351c4c5867b8bbf47caf (diff) |
Convert io_buffer_read to io_buffer_t::read
Diffstat (limited to 'io.h')
-rw-r--r-- | io.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -164,6 +164,11 @@ public: } /** + Close output pipe, and read from input pipe until eof. + */ + void read(); + + /** Create a IO_BUFFER type io redirection, complete with a pipe and a vector<char> for output. The default file descriptor used is 1 for output buffering and 0 for input buffering. @@ -212,11 +217,6 @@ shared_ptr<const io_data_t> io_chain_get(const io_chain_t &src, int fd); shared_ptr<io_data_t> io_chain_get(io_chain_t &src, int fd); -/** - Close output pipe, and read from input pipe until eof. -*/ -void io_buffer_read(io_buffer_t *d); - /** Print debug information about the specified IO redirection chain to stderr. */ void io_print(const io_chain_t &chain); |