aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/ctype.texi2
-rw-r--r--manual/examples/dir.c2
-rw-r--r--manual/install.texi2
-rw-r--r--manual/startup.texi2
4 files changed, 4 insertions, 4 deletions
diff --git a/manual/ctype.texi b/manual/ctype.texi
index 8f07cb454c..593f7f3a0b 100644
--- a/manual/ctype.texi
+++ b/manual/ctype.texi
@@ -679,7 +679,7 @@ already supports generating such locale data files.
@deftp {Data Type} wctrans_t
This data type is defined as a scalar type which can hold a value
representing the locale-dependent character mapping. There is no way to
-construct such a value apar from using the return value of the
+construct such a value apart from using the return value of the
@code{wctrans} function.
@pindex wctype.h
diff --git a/manual/examples/dir.c b/manual/examples/dir.c
index b90f72da03..59ec62c84c 100644
--- a/manual/examples/dir.c
+++ b/manual/examples/dir.c
@@ -19,7 +19,7 @@ main (void)
(void) closedir (dp);
}
else
- puts ("Couldn't open the directory.");
+ perror ("Couldn't open the directory");
return 0;
}
diff --git a/manual/install.texi b/manual/install.texi
index 6488d8bbda..f6e5685ef5 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -141,7 +141,7 @@ this option if you don't plan to do profiling.
@item --enable-omitfp
Use maximum optimization for the normal (static and shared)
libraries, and compile separate static libraries with debugging
-information and no optimisation. We recommend against this. The extra
+information and no optimization. We recommend against this. The extra
optimization doesn't gain you much, it may provoke compiler bugs, and
you won't be able to trace bugs through the C library.
diff --git a/manual/startup.texi b/manual/startup.texi
index 90f6a69ac2..35ddbc4904 100644
--- a/manual/startup.texi
+++ b/manual/startup.texi
@@ -381,7 +381,7 @@ The function return @code{-1} if @var{name} is a null pointer, points to
an empty string, or points to a string containing a @code{=} character.
It returns @code{0} if the call succeeded.
-This function was originall part of the BSD library but is now part of
+This function was originally part of the BSD library but is now part of
the Unix standard. The BSD version had no return value, though.
@end deftypefun