Improve sentence and add reference to openpty(3). Add missing newlines.

This commit is contained in:
Ed Schouten 2009-06-20 16:30:32 +00:00
parent fbbbf5d135
commit 6c9e1a22ef

View File

@ -148,11 +148,14 @@ pseudo-terminals implementation are:
.Pp .Pp
.Bl -tag -width ".Pa /dev/pts/[num]" .Bl -tag -width ".Pa /dev/pts/[num]"
.It Pa /dev/ptmx .It Pa /dev/ptmx
Control device, returns a file descriptor to a new master pseudo-terminal Control device, returns a file descriptor to a new master
when opened. This device should not be opened directly. It's only pseudo-terminal when opened.
available for binary compatibility. New devices should only be created This device should not be opened directly.
though It's only available for binary compatibility.
.Xr posix_openpt 2 . New devices should only be allocated with
.Xr posix_openpt 2
and
.Xr openpty 3 .
.It Pa /dev/pts/[num] .It Pa /dev/pts/[num]
Pseudo-terminal slave devices. Pseudo-terminal slave devices.
.El .El