aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.h
diff options
context:
space:
mode:
authorGravatar Cheer Xiao <xiaqqaix@gmail.com>2013-01-15 17:10:40 +0800
committerGravatar Cheer Xiao <xiaqqaix@gmail.com>2013-01-17 15:55:05 +0800
commite020ad0c068861325dca1655cb0ed487a22b67c5 (patch)
treed85c95a931bd61ff11de9dddfddf466cde60c155 /io.h
parentdf0c1eb32c93ea72318f351c4c5867b8bbf47caf (diff)
Convert io_buffer_read to io_buffer_t::read
Diffstat (limited to 'io.h')
-rw-r--r--io.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/io.h b/io.h
index 30d0dfe2..62087037 100644
--- a/io.h
+++ b/io.h
@@ -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);