aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2007-12-17 21:22:17 +0000
committerRoland McGrath <roland@gnu.org>2007-12-17 21:22:17 +0000
commit4bcecfb75306716baf2f70e2afeb908b3f2c9c75 (patch)
tree5a55d57ab8c5c629fc0cc694a3063174bee0db6b /manual
parente42976314d641cb26e87f6fb994b21f2c68437a8 (diff)
downloadglibc-4bcecfb75306716baf2f70e2afeb908b3f2c9c75.zip
glibc-4bcecfb75306716baf2f70e2afeb908b3f2c9c75.tar.gz
glibc-4bcecfb75306716baf2f70e2afeb908b3f2c9c75.tar.bz2
* inet/ether_line.c (ether_line): Remove unused variable.
2007-12-17 Samuel Thibault <samuel.thibault@ens-lyon.org> * login/forkpty.c (forkpty): Add const qualifier to parameters termp and winp. * login/openpty.c (openpty): Likewise. * login/pty.h (openpty, forkpty): Likewise. * manual/terminal.texi (openpty, forkpty): Likewise.
Diffstat (limited to 'manual')
-rw-r--r--manual/terminal.texi4
1 files changed, 2 insertions, 2 deletions
diff --git a/manual/terminal.texi b/manual/terminal.texi
index 96edcf0..ee4df4e 100644
--- a/manual/terminal.texi
+++ b/manual/terminal.texi
@@ -2075,7 +2075,7 @@ These functions, derived from BSD, are available in the separate
@comment pty.h
@comment BSD
-@deftypefun int openpty (int *@var{amaster}, int *@var{aslave}, char *@var{name}, struct termios *@var{termp}, struct winsize *@var{winp})
+@deftypefun int openpty (int *@var{amaster}, int *@var{aslave}, char *@var{name}, const struct termios *@var{termp}, const struct winsize *@var{winp})
This function allocates and opens a pseudo-terminal pair, returning the
file descriptor for the master in @var{*amaster}, and the file
descriptor for the slave in @var{*aslave}. If the argument @var{name}
@@ -2106,7 +2106,7 @@ device instead.
@comment pty.h
@comment BSD
-@deftypefun int forkpty (int *@var{amaster}, char *@var{name}, struct termios *@var{termp}, struct winsize *@var{winp})
+@deftypefun int forkpty (int *@var{amaster}, char *@var{name}, const struct termios *@var{termp}, const struct winsize *@var{winp})
This function is similar to the @code{openpty} function, but in
addition, forks a new process (@pxref{Creating a Process}) and makes the
newly opened slave pseudo-terminal device the controlling terminal