aboutsummaryrefslogtreecommitdiff
path: root/odb
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2014-12-10 12:58:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2014-12-10 12:58:02 +0200
commit0166562075d2dd98eb92d5677d5e72cc550a354b (patch)
tree944158dc657bd709e11d2ba08e55feb3a0b0ec68 /odb
parent927cfae98ee9fa9aae27d7192d484fbdf2ce8a47 (diff)
Add comments
Diffstat (limited to 'odb')
-rw-r--r--odb/odb.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/odb.cxx b/odb/odb.cxx
index 7ecc0e2..1cf6b0e 100644
--- a/odb/odb.cxx
+++ b/odb/odb.cxx
@@ -84,16 +84,16 @@ struct process_info
HANDLE id;
#endif
- int out_fd;
- int in_efd;
- int in_ofd;
+ int out_fd; // Write to this fd to send to the new process' stdin.
+ int in_efd; // Read from this fd to receive from the new process' stderr.
+ int in_ofd; // Read from this fd to receive from the new process' stdout.
};
struct process_failure {};
// Start another process using the specified command line. Connect the
-// newly created process' stdin to out_fd. Also if connect_out is true,
-// connect the created process' stdout and stderr to in_fd. Issue
+// newly created process' stdin to out_fd. Also if connect_* are true,
+// connect the created process' stdout and stderr to in_*fd. Issue
// diagnostics and throw process_failure if anything goes wrong. The
// name argument is the name of the current process for diagnostics.
//