Expand description
Create master and slave virtual pseudo-terminals (PTYs)
Structs§
- Forkpty
Result - Representation of a master with a forked pty
- Openpty
Result - Representation of a master/slave pty pair
- PtyMaster
- Representation of the Master device in a master/slave pty pair
- Winsize
Functions§
- forkpty⚠
- Create a new pseudoterminal, returning the master file descriptor and forked pid.
in
ForkptyResult
(seeforkpty
). - grantpt
- Grant access to a slave pseudoterminal (see
grantpt(3)
) - openpty
- Create a new pseudoterminal, returning the slave and master file descriptors
in
OpenptyResult
(seeopenpty
). - posix_
openpt - Open a pseudoterminal device (see
posix_openpt(3)
) - ptsname⚠
- Get the name of the slave pseudoterminal (see
ptsname(3)
) - ptsname_
r - Get the name of the slave pseudoterminal (see
ptsname(3)
) - unlockpt
- Unlock a pseudoterminal master/slave pseudoterminal pair (see
unlockpt(3)
)