summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface/SBProcess.i
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/Python/interface/SBProcess.i')
-rw-r--r--lldb/scripts/Python/interface/SBProcess.i10
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBProcess.i b/lldb/scripts/Python/interface/SBProcess.i
index 04f9693db61..531cd5903cf 100644
--- a/lldb/scripts/Python/interface/SBProcess.i
+++ b/lldb/scripts/Python/interface/SBProcess.i
@@ -67,9 +67,19 @@ public:
size_t
PutSTDIN (const char *src, size_t src_len);
+ %feature("autodoc", "
+ Reads data from the current process's stdout stream. API client specifies
+ the size of the buffer to read data into. It returns the byte buffer in a
+ Python string.
+ ") GetSTDOUT;
size_t
GetSTDOUT (char *dst, size_t dst_len) const;
+ %feature("autodoc", "
+ Reads data from the current process's stderr stream. API client specifies
+ the size of the buffer to read data into. It returns the byte buffer in a
+ Python string.
+ ") GetSTDERR;
size_t
GetSTDERR (char *dst, size_t dst_len) const;
OpenPOWER on IntegriCloud