Pty.newForeignSync
vte.pty.Pty newForeignSync(int fd, gio.cancellable.Cancellable cancellable = null)Creates a new #VtePty for the PTY master fd.
No entry will be made in the lastlog, utmp or wtmp system files.
Note that the newly created #VtePty will take ownership of fd and close it on finalize.
Parameters
fd | a file descriptor to the PTY |
cancellable | a #GCancellable, or null |
Returns
a new #VtePty for fd, or null on error with error filled in
Throws
[ErrorWrap]