1998-06-23  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* manual/terminal.texi (Pseudo-Terminals): Correct typos.
This commit is contained in:
Ulrich Drepper 1998-06-23 09:16:39 +00:00
parent 520e73a231
commit e951d34052
2 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,7 @@
1998-06-23 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/terminal.texi (Pseudo-Terminals): Correct typos.
1998-06-23 Ulrich Drepper <drepper@cygnus.com> 1998-06-23 Ulrich Drepper <drepper@cygnus.com>
* config.make.in: Remove LDAP support. * config.make.in: Remove LDAP support.

View File

@ -1837,9 +1837,9 @@ example does so.
@cindex pseudo-terminals @cindex pseudo-terminals
A @dfn{pseudo-terminal} is a special interprocess communication channel A @dfn{pseudo-terminal} is a special interprocess communication channel
that acts like a terminal. On one end of the channel is called the that acts like a terminal. One end of the channel is called the
@dfn{master} side or @dfn{master pseudo-terminal device}, the other side @dfn{master} side or @dfn{master pseudo-terminal device}, the other side
is called the @dfn{slave} side. Data written to the the master side is is called the @dfn{slave} side. Data written to the master side is
received by the slave side as if it was the result of a user typing at received by the slave side as if it was the result of a user typing at
an ordinary terminal, and data written to the slave side is sent to the an ordinary terminal, and data written to the slave side is sent to the
master side as if it was written on an ordinary terminal. master side as if it was written on an ordinary terminal.
@ -1858,7 +1858,7 @@ implement their terminal emulation functionality.
@cindex allocating pseudo-terminals @cindex allocating pseudo-terminals
@pindex stdlib.h @pindex stdlib.h
This subsection describes functions for allocating a pseudo-terminals, This subsection describes functions for allocating a pseudo-terminal,
and for making this pseudo-terminal available for actual use. These and for making this pseudo-terminal available for actual use. These
functions are declared in the header file @file{stdlib.h}. functions are declared in the header file @file{stdlib.h}.
@ -2020,7 +2020,7 @@ These functions, derived from BSD, are available in the separate
This function allocates and opens a pseudo-terminal pair, returning the This function allocates and opens a pseudo-terminal pair, returning the
file descriptor for the master in @var{*amaster}, and the file file descriptor for the master in @var{*amaster}, and the file
descriptor for the slave in @var{*aslave}. If the argument @var{name} descriptor for the slave in @var{*aslave}. If the argument @var{name}
is not a null pointer, the name file name of the slave pseudo-terminal is not a null pointer, the file name of the slave pseudo-terminal
device is stored in @code{*name}. If @var{termp} is not a null pointer, device is stored in @code{*name}. If @var{termp} is not a null pointer,
the terminal attributes of the slave are set to the ones specified in the terminal attributes of the slave are set to the ones specified in
the structure that @var{termp} points to (@pxref{Terminal Modes}). the structure that @var{termp} points to (@pxref{Terminal Modes}).
@ -2031,11 +2031,12 @@ the slave is set to the values specified in the structure that
The normal return value from @code{openpty} is @math{0}; a value of The normal return value from @code{openpty} is @math{0}; a value of
@math{-1} is returned in case of failure. @math{-1} is returned in case of failure.
@strong{Warning:} Using the @code{openpty} with @var{name} not set to @strong{Warning:} Using the @code{openpty} function with @var{name} not
@code{NULL} is @strong{very dangerous} because it provides no protection set to @code{NULL} is @strong{very dangerous} because it provides no
against overflowing the string @var{name}. You should use the protection against overflowing the string @var{name}. You should use
@code{ttyname} function on the file descriptor returned in @var{*slave} the @code{ttyname} function on the file descriptor returned in
to find out the file name of the slave pseudo-terminal device instead. @var{*slave} to find out the file name of the slave pseudo-terminal
device instead.
@end deftypefun @end deftypefun
@comment pty.h @comment pty.h