|
LLDB mainline
|
#include <PseudoConsole.h>
Public Member Functions | |
| llvm::Error | OpenPseudoConsole () |
| void | Close () |
| Close the ConPTY, its read/write handles and invalidate them. | |
| HPCON | GetPseudoTerminalHandle () |
| The ConPTY HPCON handle accessor. | |
| HANDLE | GetSTDOUTHandle () const |
| The STDOUT read HANDLE accessor. | |
| HANDLE | GetSTDINHandle () const |
| The STDIN write HANDLE accessor. | |
Protected Attributes | |
| HANDLE | m_conpty_handle = ((HANDLE)(long long)-1) |
| HANDLE | m_conpty_output = ((HANDLE)(long long)-1) |
| HANDLE | m_conpty_input = ((HANDLE)(long long)-1) |
Definition at line 21 of file PseudoConsole.h.
| void PseudoConsole::Close | ( | ) |
Close the ConPTY, its read/write handles and invalidate them.
Definition at line 118 of file PseudoConsole.cpp.
References kernel32, m_conpty_handle, m_conpty_input, and m_conpty_output.
|
inline |
The ConPTY HPCON handle accessor.
This object retains ownership of the HPCON when this accessor is used.
Definition at line 36 of file PseudoConsole.h.
References m_conpty_handle.
|
inline |
The STDIN write HANDLE accessor.
This object retains ownership of the HANDLE when this accessor is used.
Definition at line 54 of file PseudoConsole.h.
References m_conpty_input.
|
inline |
The STDOUT read HANDLE accessor.
This object retains ownership of the HANDLE when this accessor is used.
Definition at line 45 of file PseudoConsole.h.
References m_conpty_output.
| llvm::Error PseudoConsole::OpenPseudoConsole | ( | ) |
Definition at line 67 of file PseudoConsole.cpp.
References kernel32, m_conpty_handle, m_conpty_input, and m_conpty_output.
Definition at line 57 of file PseudoConsole.h.
Referenced by Close(), GetPseudoTerminalHandle(), and OpenPseudoConsole().
Definition at line 59 of file PseudoConsole.h.
Referenced by Close(), GetSTDINHandle(), and OpenPseudoConsole().
Definition at line 58 of file PseudoConsole.h.
Referenced by Close(), GetSTDOUTHandle(), and OpenPseudoConsole().