aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2018-06-02 22:40:16 +0000
committerAlan Somers <asomers@FreeBSD.org>2018-06-02 22:40:16 +0000
commit8a46c08a2a47e0e6106013d722a8f8f93e09dcab (patch)
treedf91d1f0d76aab5d2c298a3a147b8660057a52f1 /lib
parentd0a22279dbaaab07095b551ade9b179fc7cc48d0 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libutil/pty.317
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/libutil/pty.3 b/lib/libutil/pty.3
index 0f06cc17811e..c676447d20e4 100644
--- a/lib/libutil/pty.3
+++ b/lib/libutil/pty.3
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\" "
-.Dd November 11, 2015
+.Dd June 2, 2018
.Dt PTY 3
.Os
.Sh NAME
@@ -143,3 +143,18 @@ may set it to any value as described for
.Xr pty 4 ,
.Xr termios 4 ,
.Xr group 5
+.Sh HISTORY
+The
+.Fn openpty
+and
+.Fn forkpty
+functions first appeared in
+.Bx 4.3 Reno.
+.Sh BUGS
+.Fn openpty
+writes the slave terminal's name to
+.Fa name ,
+but does not check that sufficient space is available.
+It is advisable to use
+.Xr ptsname 3
+instead.