about summary refs log tree commit diff
path: root/manual/examples
diff options
context:
space:
mode:
Diffstat (limited to 'manual/examples')
-rw-r--r--manual/examples/argp-ex2.c2
-rw-r--r--manual/examples/argp-ex3.c2
-rw-r--r--manual/examples/argp-ex4.c2
-rw-r--r--manual/examples/mkfsock.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/manual/examples/argp-ex2.c b/manual/examples/argp-ex2.c
index 55f59f2ab8..66eed95dec 100644
--- a/manual/examples/argp-ex2.c
+++ b/manual/examples/argp-ex2.c
@@ -30,7 +30,7 @@ const char *argp_program_bug_address =
 static char doc[] =
   "Argp example #2 -- a pretty minimal program using argp";
 
-/* Our argpument parser.  The @code{options}, @code{parser}, and
+/* Our argument parser.  The @code{options}, @code{parser}, and
    @code{args_doc} fields are zero because we have neither options or
    arguments; @code{doc} and @code{argp_program_bug_address} will be
    used in the output for @samp{--help}, and the @samp{--version}
diff --git a/manual/examples/argp-ex3.c b/manual/examples/argp-ex3.c
index 87d993f8ae..0ea9ce0751 100644
--- a/manual/examples/argp-ex3.c
+++ b/manual/examples/argp-ex3.c
@@ -17,7 +17,7 @@
              a special key specifying something else; the only
              special keys we use here are ARGP_KEY_ARG, meaning
              a non-option argument, and ARGP_KEY_END, meaning
-             that all argumens have been parsed
+             that all arguments have been parsed
      ARG  -- For an option KEY, the string value of its
              argument, or NULL if it has none
      STATE-- A pointer to a struct argp_state, containing
diff --git a/manual/examples/argp-ex4.c b/manual/examples/argp-ex4.c
index fa5a8d00ec..8628a235dd 100644
--- a/manual/examples/argp-ex4.c
+++ b/manual/examples/argp-ex4.c
@@ -19,7 +19,7 @@
    is longer, describing the behavior in more detail.  All
    documentation strings are automatically filled for output,
    although newlines may be included to force a line break at a
-   particular point.  All documenation strings are also passed to
+   particular point.  All documentation strings are also passed to
    the `gettext' function, for possible translation into the
    current locale.  */
 
diff --git a/manual/examples/mkfsock.c b/manual/examples/mkfsock.c
index c6603af0ae..affeba66be 100644
--- a/manual/examples/mkfsock.c
+++ b/manual/examples/mkfsock.c
@@ -28,7 +28,7 @@ make_named_socket (const char *filename)
      the offset of the start of the filename,
      plus its length,
      plus one for the terminating null byte.
-     Alternativly you can just do:
+     Alternatively you can just do:
      size = SUN_LEN (&name);
   */
   size = (offsetof (struct sockaddr_un, sun_path)