summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorMike Pritchard <mpp@FreeBSD.org>1997-02-28 06:48:13 +0000
committerMike Pritchard <mpp@FreeBSD.org>1997-02-28 06:48:13 +0000
commit15d1d9dd9ca4ae450243a9c0335ffbbc86b6fb8a (patch)
treefce79d995d68d049bb58ff8b7c2cec2f3b2be1c9 /lib/libutil
parent80df5a337495c359b55472330ae6d76bfbd231d4 (diff)
Notes
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/pty.320
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/libutil/pty.3 b/lib/libutil/pty.3
index 5ceec2318007..c19eeaf423da 100644
--- a/lib/libutil/pty.3
+++ b/lib/libutil/pty.3
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $Id: pty.3,v 1.3 1997/01/01 03:29:33 alex Exp $
+.\" $Id: pty.3,v 1.6 1997/02/22 15:08:31 peter Exp $
.\" "
.Dd December 29, 1996
.Os
@@ -62,7 +62,7 @@ invalidate any current use of the line by calling
.Xr revoke 2 .
.Pp
If the argument
-.Ar name
+.Fa name
is not
.Dv NULL ,
.Fn openpty
@@ -70,9 +70,9 @@ copies the pathname of the slave pty to this area. The caller is
responsible for allocating the required space in this array.
.Pp
If the arguments
-.Ar termp
+.Fa termp
or
-.Ar winp
+.Fa winp
are not
.Dv NULL ,
.Fn openpty
@@ -81,9 +81,9 @@ these arguments point to, respectively.
.Pp
Upon return, the open file descriptors for the master and slave side
of the pty are returned in the locations pointed to by
-.Ar amaster
+.Fa amaster
and
-.Ar aslave ,
+.Fa aslave ,
respectively.
.Pp
.Fn Forkpty
@@ -95,11 +95,11 @@ for the master side of the pty, and calls
.Xr login_tty 3
for the slave pty. In the parent process, it closes the descriptor for the
slave side of the pty. The arguments
-.Ar amaster ,
-.Ar name ,
-.Ar termp ,
+.Fa amaster ,
+.Fa name ,
+.Fa termp ,
and
-.Ar winp
+.Fa winp
have the same meaning as described for
.Fn openpty .
.Sh RETURN VALUES