Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2018 22:40:17 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334547 - head/lib/libutil
Message-ID:  <201806022240.w52MeHXd039258@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Sat Jun  2 22:40:16 2018
New Revision: 334547
URL: https://svnweb.freebsd.org/changeset/base/334547

Log:
  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
  MFC after:	2 weeks
  Differential Revision:	https://reviews.freebsd.org/D15652

Modified:
  head/lib/libutil/pty.3

Modified: head/lib/libutil/pty.3
==============================================================================
--- head/lib/libutil/pty.3	Sat Jun  2 22:37:53 2018	(r334546)
+++ head/lib/libutil/pty.3	Sat Jun  2 22:40:16 2018	(r334547)
@@ -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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806022240.w52MeHXd039258>