summaryrefslogtreecommitdiff
path: root/lib/libutil/openpty.3
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2002-05-01 08:03:31 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2002-05-01 08:03:31 +0000
commit41434dbdbf3099a023505b5b3915bf4d9b778ee1 (patch)
tree1ca936fb3301ad4347fcc3a38fd2c83e87a15817 /lib/libutil/openpty.3
parent04e9f1abe6384e852ca0207d882814dab9237dd4 (diff)
o) start new sentence on a new line;
o) always close .Bl tags; o) fix usage of .Xr; millert@ ok
Diffstat (limited to 'lib/libutil/openpty.3')
-rw-r--r--lib/libutil/openpty.311
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libutil/openpty.3 b/lib/libutil/openpty.3
index 6d7052a7a13..f752b5c6080 100644
--- a/lib/libutil/openpty.3
+++ b/lib/libutil/openpty.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: openpty.3,v 1.7 2001/07/13 22:14:07 millert Exp $
+.\" $OpenBSD: openpty.3,v 1.8 2002/05/01 08:03:30 mpech Exp $
.\" Copyright (c) 1995
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -103,12 +103,14 @@ function combines
.Fn fork ,
and
.Fn login_tty
-to creates a new process operating in a pseudo-tty. The file
+to creates a new process operating in a pseudo-tty.
+The file
descriptor of the master side of the pseudo-tty is returned in
.Fa amaster ,
and the filename of the slave in
.Fa name
-if it is non-null. The
+if it is non-null.
+The
.Fa termp
and
.Fa winp
@@ -122,7 +124,8 @@ or
.Fn forkpty
is not successful, \-1 is returned and
.Va errno
-is set to indicate the error. Otherwise,
+is set to indicate the error.
+Otherwise,
.Fn openpty ,
.Fn login_tty ,
and the child process of