summaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/nss.texi4
-rw-r--r--manual/pattern.texi2
-rw-r--r--manual/string.texi2
3 files changed, 4 insertions, 4 deletions
diff --git a/manual/nss.texi b/manual/nss.texi
index f24d7dd34c..ba333e02aa 100644
--- a/manual/nss.texi
+++ b/manual/nss.texi
@@ -8,7 +8,7 @@
@cindex databases
Various functions in the C Library need to be configured to work
correctly in the local environment. Traditionally, this was done by
-using files (e.g., @file{/etc/passwd}), but other nameservices (line the
+using files (e.g., @file{/etc/passwd}), but other nameservices (like the
Network Information Service (NIS) and the Domain Name Service (DNS))
became popular, and were hacked into the C library, usually with a fixed
search order (@pxref{frobnicate, , ,jargon, The Jargon File}).
@@ -20,7 +20,7 @@ scheme @dfn{Name Service Switch} (NSS).
Though the interface might be similar to Sun's version there is no
common code. We never saw any source code of Sun's implementation and
-so the internal interface is incompatible. This is also manifests in the
+so the internal interface is incompatible. This also manifests in the
file names we use as we will see later.
diff --git a/manual/pattern.texi b/manual/pattern.texi
index b1e7206b58..6ac481ab6e 100644
--- a/manual/pattern.texi
+++ b/manual/pattern.texi
@@ -70,7 +70,7 @@ cannot match @samp{.} as the first character of @var{string}.
If you set both @code{FNM_PERIOD} and @code{FNM_FILE_NAME}, then the
special treatment applies to @samp{.} following @samp{/} as well as to
@samp{.} at the beginning of @var{string}. (The shell uses the
-@code{FNM_PERIOD} and @code{FNM_FILE_NAME} falgs together for matching
+@code{FNM_PERIOD} and @code{FNM_FILE_NAME} flags together for matching
file names.)
@comment fnmatch.h
diff --git a/manual/string.texi b/manual/string.texi
index 73a29f48e5..efcc23e59a 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -601,7 +601,7 @@ strcmp ("hello", "world")
@result{} -15 /* @r{The character @code{'h'} comes before @code{'w'}.} */
strcmp ("hello", "hello, world")
@result{} -44 /* @r{Comparing a null character against a comma.} */
-strncmp ("hello", "hello, world"", 5)
+strncmp ("hello", "hello, world", 5)
@result{} 0 /* @r{The initial 5 characters are the same.} */
strncmp ("hello, world", "hello, stupid world!!!", 5)
@result{} 0 /* @r{The initial 5 characters are the same.} */