Method
IdePtyInterceptinit
Declaration
gboolean
ide_pty_intercept_init (
IdePtyIntercept* self,
IdePtyFd fd,
GMainContext* main_context
)
Description
Creates a enw IdePtyIntercept
using the PTY master fd fd
.
A new PTY slave is created that will communicate with fd
.
Additionally, a new PTY master is created that can communicate
with another side, and will pass that information to fd
after
extracting any necessary information.
Available since: | 3.32 |
Parameters
fd |
IdePtyFd |
The PTY master fd, possibly from a |
|
main_context |
GMainContext* |
A |
|
The argument can be NULL . | |
The data is owned by the caller of the function. |