Method
IdePtyInterceptinit
since: 3.32
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
-
Type:
IdePtyFd
The PTY master fd, possibly from a
VtePty
. main_context
-
Type:
GMainContext
A
GMainContext
orNULL
for thread-default.The argument can be NULL
.The data is owned by the caller of the function.