aboutsummaryrefslogtreecommitdiff
path: root/manual/terminal.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-26 10:03:25 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-26 10:03:25 +0000
commitb195f6bcb3127b64159d9f9a3fd287151e2dcd28 (patch)
treed698c8b4234d3b6c9edfc25c418a21de7a2ba82d /manual/terminal.texi
parente138a80033905ff82025155c00405da998aa07d3 (diff)
downloadglibc-b195f6bcb3127b64159d9f9a3fd287151e2dcd28.zip
glibc-b195f6bcb3127b64159d9f9a3fd287151e2dcd28.tar.gz
glibc-b195f6bcb3127b64159d9f9a3fd287151e2dcd28.tar.bz2
Update.
* sysdeps/pthread/pthread.h (PTHREAD_RWLOCK_INITIALIZER): Correct for new definition of pthread_rwlock_t.
Diffstat (limited to 'manual/terminal.texi')
-rw-r--r--manual/terminal.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/manual/terminal.texi b/manual/terminal.texi
index 14dda44..217cfc5 100644
--- a/manual/terminal.texi
+++ b/manual/terminal.texi
@@ -1983,7 +1983,7 @@ open_pty_pair (int *amaster, int *aslave)
if (name == NULL)
goto close_master;
- slave open (name, O_RDWR);
+ slave = open (name, O_RDWR);
if (slave == -1)
goto close_master;
@@ -2043,9 +2043,9 @@ device instead.
@comment BSD
@deftypefun int forkpty (int *@var{amaster}, char *@var{name}, struct termios *@var{termp}, struct winsize *@var{winp})
This function is similar to the @code{openpty} function, but in
-addition, forks creates a new process (@pxref{Creating a Process}) and
-makes the newly opened slave pseudo-terminal device the controlling
-terminal (@pxref{Controlling Terminal}) for the child process.
+addition, forks a new process (@pxref{Creating a Process}) and makes the
+newly opened slave pseudo-terminal device the controlling terminal
+(@pxref{Controlling Terminal}) for the child process.
If the operation is successful, there are then both parent and child
processes and both see @code{forkpty} return, but with different values: