From 05a65e594184a27fb423197c96537328ea51ded1 Mon Sep 17 00:00:00 2001 From: asomers Date: Fri, 3 Aug 2018 14:25:15 +0000 Subject: [PATCH] MFC r334547: pty.3: Add a HISTORY section These functions were first added in 4.3 BSD-Reno, according to http://unix.superglobalmegacorp.com/ and the CSRG svn repository. Reviewed by: bcr, bjk Differential Revision: https://reviews.freebsd.org/D15652 git-svn-id: svn://svn.freebsd.org/base/stable/10@337254 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- lib/libutil/pty.3 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/lib/libutil/pty.3 b/lib/libutil/pty.3 index 0f06cc178..c676447d2 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. -- 2.42.0