From b195f6bcb3127b64159d9f9a3fd287151e2dcd28 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 26 Jun 1998 10:03:25 +0000 Subject: Update. * sysdeps/pthread/pthread.h (PTHREAD_RWLOCK_INITIALIZER): Correct for new definition of pthread_rwlock_t. --- manual/terminal.texi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'manual/terminal.texi') 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: -- cgit v1.1