summaryrefslogtreecommitdiffstats
path: root/lib/libutil/pty.3
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-07-02 23:52:20 +0000
committerru <ru@FreeBSD.org>2004-07-02 23:52:20 +0000
commit01548ace1533487f9c0488f55112c9d8641f8184 (patch)
tree23294a96f715e1e5bc35c1029ec151c90ee95b96 /lib/libutil/pty.3
parent47f5e31e2bb626743fa9e912918201fe505b1419 (diff)
downloadFreeBSD-src-01548ace1533487f9c0488f55112c9d8641f8184.zip
FreeBSD-src-01548ace1533487f9c0488f55112c9d8641f8184.tar.gz
Mechanically kill hard sentence breaks.
Diffstat (limited to 'lib/libutil/pty.3')
-rw-r--r--lib/libutil/pty.318
1 files changed, 12 insertions, 6 deletions
diff --git a/lib/libutil/pty.3 b/lib/libutil/pty.3
index 19cf9f7..35f0b82 100644
--- a/lib/libutil/pty.3
+++ b/lib/libutil/pty.3
@@ -62,7 +62,8 @@ If the argument
is not
.Dv NULL ,
.Fn openpty
-copies the pathname of the slave pty to this area. The caller is
+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
@@ -86,12 +87,16 @@ The
.Fn forkpty
function first calls
.Fn openpty
-to obtain the next available pseudo-terminal from the system. Upon success,
-it forks off a new process. In the child process, it closes the descriptor
+to obtain the next available pseudo-terminal from the system.
+Upon success,
+it forks off a new process.
+In the child process, it closes the descriptor
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
+for the slave pty.
+In the parent process, it closes the descriptor for the
+slave side of the pty.
+The arguments
.Fa amaster ,
.Fa name ,
.Fa termp ,
@@ -133,7 +138,8 @@ may set it to any value as described for
.Xr group 5
.Sh BUGS
The calling process must have an effective UID of super-user in order
-to perform all the intended actions. No notification will occur if
+to perform all the intended actions.
+No notification will occur if
.Fn openpty
or
.Fn forkpty
OpenPOWER on IntegriCloud