aboutsummaryrefslogtreecommitdiff
path: root/manual/terminal.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-10-10 17:50:16 +0000
committerUlrich Drepper <drepper@redhat.com>2002-10-10 17:50:16 +0000
commit85adacbd9943fbd8f02151f08d6e5e728a4155ac (patch)
treea5cb52d44453b43296e56b11c069c5cef1d2631c /manual/terminal.texi
parent19f342efe67ec2398bc415d8b9f1b72470721dbc (diff)
downloadglibc-85adacbd9943fbd8f02151f08d6e5e728a4155ac.zip
glibc-85adacbd9943fbd8f02151f08d6e5e728a4155ac.tar.gz
glibc-85adacbd9943fbd8f02151f08d6e5e728a4155ac.tar.bz2
(Setting Modes): Fix typos in example code.
Diffstat (limited to 'manual/terminal.texi')
-rw-r--r--manual/terminal.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/manual/terminal.texi b/manual/terminal.texi
index 50e221a..7a99529 100644
--- a/manual/terminal.texi
+++ b/manual/terminal.texi
@@ -423,8 +423,8 @@ set_istrip (int desc, int value)
result = tcsetattr (desc, TCSANOW, &settings);
if (result < 0)
@{
- perror ("error in tcgetattr");
- return;
+ perror ("error in tcsetattr");
+ return 0;
@}
return 1;
@}
@@ -1640,7 +1640,7 @@ It does exactly this:
@cindex terminal modes, BSD
The usual way to get and set terminal modes is with the functions described
-in @ref{Terminal Modes}. However, on some systems you can use the
+in @ref{Terminal Modes}. However, on some systems you can use the
BSD-derived functions in this section to do some of the same thing. On
many systems, these functions do not exist. Even with the GNU C library,
the functions simply fail with @code{errno} = @code{ENOSYS} with many