Manual Reference Pages - PTY (4)
- BSD-style and System V-style compatibility pseudo-terminal driver
.Cd device pty
driver provides support for the traditional BSD naming scheme that was
used for accessing pseudo-terminals.
When the device
is being opened, a new terminal shall be created with the
A device node for this terminal shall be created, which has the name
driver also provides a cloning System V
New code should not try to allocate pseudo-terminals using this
It is only provided for compatibility with older C libraries
that tried to open such devices when
was being called.
The BSD-style compatibility pseudo-terminal driver uses the following
Pseudo-terminal master devices.
Pseudo-terminal slave devices.
Control device, returns a file descriptor to a new master
pseudo-terminal when opened.
pseudo-terminal driver appeared in
BSD 4.2 .
Unlike previous implementations, the master and slave device nodes are
destroyed when the PTY becomes unused.
A call to
on a nonexistent master device will already cause a new master device
node to be created.
The master device can only be destroyed by opening and closing it.
driver cannot be unloaded, because it cannot determine if it is being
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.