From ed93e07b1b7a9e0ba99609a9223e43247ff4224e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 18 Apr 2017 10:40:18 +0200 Subject: Implement curl process --- butl/fdstream | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'butl/fdstream') diff --git a/butl/fdstream b/butl/fdstream index 8f49990..df6b3f1 100644 --- a/butl/fdstream +++ b/butl/fdstream @@ -612,6 +612,13 @@ namespace butl { auto_fd in; auto_fd out; + + void + close () + { + in.close (); + out.close (); + } }; // Create a pipe. Throw ios::failure on the underlying OS error. By default -- cgit v1.1