Method

IdePtyInterceptget_fd

Declaration

IdePtyFd
ide_pty_intercept_get_fd (
  IdePtyIntercept* self
)

Description

Gets a consumer PTY fd created by the IdePtyIntercept. This is suitable to use to create a producer fd which can be passed to a child process.

Return value

Type: IdePtyFd

A FD of a PTY consumer if successful, otherwise -1.