diff options
Diffstat (limited to 'manual')
-rw-r--r-- | manual/arith.texi | 2 | ||||
-rw-r--r-- | manual/charset.texi | 24 | ||||
-rw-r--r-- | manual/creature.texi | 4 | ||||
-rw-r--r-- | manual/examples/argp-ex2.c | 2 | ||||
-rw-r--r-- | manual/examples/argp-ex3.c | 2 | ||||
-rw-r--r-- | manual/examples/argp-ex4.c | 2 | ||||
-rw-r--r-- | manual/examples/mkfsock.c | 2 | ||||
-rw-r--r-- | manual/llio.texi | 16 | ||||
-rw-r--r-- | manual/search.texi | 4 | ||||
-rw-r--r-- | manual/signal.texi | 2 | ||||
-rw-r--r-- | manual/stdio.texi | 2 | ||||
-rw-r--r-- | manual/string.texi | 10 | ||||
-rw-r--r-- | manual/sysinfo.texi | 2 | ||||
-rw-r--r-- | manual/users.texi | 4 |
14 files changed, 39 insertions, 39 deletions
diff --git a/manual/arith.texi b/manual/arith.texi index 45f4f91c54..d96caa07d7 100644 --- a/manual/arith.texi +++ b/manual/arith.texi @@ -2260,7 +2260,7 @@ is provided mostly for compatibility with existing code; using @code{strtod} is more robust. @end deftypefun -The GNU C library also provides @samp{_l} versions of thse functions, +The GNU C library also provides @samp{_l} versions of these functions, which take an additional argument, the locale to use in conversion. @xref{Parsing of Integers}. diff --git a/manual/charset.texi b/manual/charset.texi index 81456f2ee0..a266c9742a 100644 --- a/manual/charset.texi +++ b/manual/charset.texi @@ -524,7 +524,7 @@ The code to emit the escape sequence to get back to the initial state is interesting. The @code{wcsrtombs} function can be used to determine the necessary output code (@pxref{Converting Strings}). Please note that on GNU systems it is not necessary to perform this extra action for the -conversion from multibyte text ot wide character text since the wide +conversion from multibyte text to wide character text since the wide character encoding is not stateful. But there is nothing mentioned in any standard which prohibits making @code{wchar_t} using a stateful encoding. @@ -703,7 +703,7 @@ bytes in the multibyte input string. This method yields to a pessimistic guess about the size of the result and if many wide character strings have to be constructed this way or the strings are long, the extra memory required allocated because the input string -contains multibzte characters might be significant. It would be +contains multibyte characters might be significant. It would be possible to resize the allocated memory block to the correct size before returning it. A better solution might be to allocate just the right amount of space for the result right away. Unfortunately there is no @@ -1633,15 +1633,15 @@ of the conversions from @var{fromset} to @var{toset}. The GNU C library implementation of @code{iconv_open} has one significant extension to other implementations. To ease the extension -of the set of available conversions the implementation allows to store -the necessary files with data and code in arbitrary many directories. -How this extensions have to be written will be explained below +of the set of available conversions the implementation allows storing +the necessary files with data and code in arbitrarily many directories. +How this extension has to be written will be explained below (@pxref{glibc iconv Implementation}). Here it is only important to say that all directories mentioned in the @code{GCONV_PATH} environment variable are considered if they contain a file @file{gconv-modules}. These directories need not necessarily be created by the system administrator. In fact, this extension is introduced to help users -writing and using own, new conversions. Of course this does not work +writing and using their own, new conversions. Of course this does not work for security reasons in SUID binaries; in this case only the system directory is considered and this normally is @file{@var{prefix}/lib/gconv}. The @code{GCONV_PATH} environment @@ -2048,7 +2048,7 @@ the GNU C library has none of the problems mentioned above. What follows is a step-by-step analysis of the points raised above. The evaluation is based on the current state of the development (as of January 1999). The development of the @code{iconv} functions is not -complete, but basic funtionality has solidified. +complete, but basic functionality has solidified. The GNU C library's @code{iconv} implementation uses shared loadable modules to implement the conversions. A very small number of @@ -2187,7 +2187,7 @@ set. Explaining why the above @file{gconv-modules} files allows the @code{iconv} implementation to resolve the specific ISO-2022-JP to EUC-JP conversion module instead of the conversion coming with the -library itself is straighforward. Since the later conversion takes two +library itself is straightforward. Since the latter conversion takes two steps (from ISO-2022-JP to @w{ISO 10646} and then from @w{ISO 10646} to EUC-JP) the cost is @math{1+1 = 2}. But the above @file{gconv-modules} file specifies that the new conversion modules can perform this @@ -2230,7 +2230,7 @@ so that one can write new ones. This section describes the interface as it is in use in January 1999. The interface will change in future a bit but hopefully only in an upward compatible way. -The definitions necessary to write new modules are publically available +The definitions necessary to write new modules are publicly available in the non-standard header @file{gconv.h}. The following text will therefore describe the definitions from this header file. But first it is necessary to get an overview. @@ -2411,13 +2411,13 @@ the GNU C library also use the @code{iconv} functionality which increases the number of uses of the same functions even more. For this reason the modules do not get loaded exclusively for one -conversion. Instead a module once loaded can be used by arbitrary many +conversion. Instead a module once loaded can be used by arbitrarily many @code{iconv} or @code{mbsrtowcs} calls at the same time. The splitting of the information between conversion function specific information and conversion data makes this possible. The last section showed the two -data structure used to do this. +data structures used to do this. -This is of course also reflected in the interface and semantic of the +This is of course also reflected in the interface and semantics of the functions the modules must provide. There are three functions which must have the following names: diff --git a/manual/creature.texi b/manual/creature.texi index 88478a2ef2..bb7f730915 100644 --- a/manual/creature.texi +++ b/manual/creature.texi @@ -26,10 +26,10 @@ functions with names that smaller ones reserve to the user program. This is not mere pedantry --- it has been a problem in practice. For instance, some non-GNU programs define functions named @code{getline} that have nothing to do with this library's @code{getline}. They would not be -compilable if all features were enabled indescriminantly. +compilable if all features were enabled indiscriminately. This should not be used to verify that a program conforms to a limited -standard. It is insufficent for this purpose, as it will not protect you +standard. It is insufficient for this purpose, as it will not protect you from including header files outside the standard, or relying on semantics undefined within the standard. 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) diff --git a/manual/llio.texi b/manual/llio.texi index df3838c5c1..2f674f041b 100644 --- a/manual/llio.texi +++ b/manual/llio.texi @@ -40,7 +40,7 @@ directly.) or vice-versa. * Stream/Descriptor Precautions:: Precautions needed if you use both descriptors and streams. -* Scatter-Gather:: Fast I/O to discontinous buffers. +* Scatter-Gather:: Fast I/O to discontinuous buffers. * Memory-mapped I/O:: Using files like memory. * Waiting for I/O:: How to check for input or output on multiple file descriptors. @@ -1148,7 +1148,7 @@ Error Signals}). Note that most hardware designs cannot support write permission without read permission, and many do not distinguish read and execute permission. -Thus, you may recieve wider permissions than you ask for, and mappings of +Thus, you may receive wider permissions than you ask for, and mappings of write-only files may be denied even if you do not use @code{PROT_READ}. @var{flags} contains flags that control the nature of the map. @@ -1192,7 +1192,7 @@ Anonymous maps are used as the basic primitive to extend the heap on some systems. They are also useful to share data between multiple tasks without creating a file. -On some systems using private anonymous mmaps is more efficent than using +On some systems using private anonymous mmaps is more efficient than using @code{malloc} for large blocks. This is not an issue with the GNU C library, as the included @code{malloc} automatically uses @code{mmap} where appropriate. @@ -1270,8 +1270,8 @@ aligned. When using shared mappings, the kernel can write the file at any time before the mapping is removed. To be certain data has actually been -written to the file and will be accessable to non-memory-mapped I/O, it -is neccessary to use this function. +written to the file and will be accessible to non-memory-mapped I/O, it +is necessary to use this function. It operates on the region @var{address} to (@var{address} + @var{length}). It may be used on part of a mapping or multiple mappings, however the @@ -1579,7 +1579,7 @@ until the program ends. To avoid this, calls to @code{fsync} should be protected using cancellation handlers. @c ref pthread_cleanup_push / pthread_cleanup_pop -The return value of the function is zero if no error occured. Otherwise +The return value of the function is zero if no error occurred. Otherwise it is @math{-1} and the global variable @var{errno} is set to the following values: @table @code @@ -1612,7 +1612,7 @@ required by @code{fdatasyn}. The prototype for @code{fdatasync} is in @file{unistd.h}. -The return value of the function is zero if no error occured. Otherwise +The return value of the function is zero if no error occurred. Otherwise it is @math{-1} and the global variable @var{errno} is set to the following values: @table @code @@ -1836,7 +1836,7 @@ might also be signaled asynchronously. @item EINVAL The @code{aiocbp->aio_offset} or @code{aiocbp->aio_reqpiro} value is invalid. This condition need not be recognized before enqueueing the -request and so this error might also be signaled asynchrously. +request and so this error might also be signaled asynchronously. @end table If @code{aio_read} returns zero, the current status of the request diff --git a/manual/search.texi b/manual/search.texi index ec82e1cc2c..1b4f314fd6 100644 --- a/manual/search.texi +++ b/manual/search.texi @@ -267,7 +267,7 @@ hashing table used through the whole program. The table is allocated in local memory out of control of the programmer. As an extension the GNU C library provides an additional set of functions with an reentrant interface which provide a similar interface but which allow to keep -arbitrary many hashing tables. +arbitrarily many hashing tables. It is possible to use more than one hashing table in the program run if the former table is first destroyed by a call to @code{hdestroy}. @@ -390,7 +390,7 @@ entry in the table is not the return value of the functions. It is returned by storing it in a pointer variables pointed to by the @var{retval} parameter. The return value of the function is an integer value indicating success if it is non-zero and failure if it is zero. -In the later case the global variable @var{errno} signals the reason for +In the latter case the global variable @var{errno} signals the reason for the failure. @table @code diff --git a/manual/signal.texi b/manual/signal.texi index 4340ee7cbd..000bcb9069 100644 --- a/manual/signal.texi +++ b/manual/signal.texi @@ -1772,7 +1772,7 @@ that the status cannot change in the middle of accessing it. Once @code{p->have_status} is set, it means that the child process is stopped or terminated, and in either case, it cannot stop or terminate again until the program has taken notice. @xref{Atomic Usage}, for more -information about coping with interruptions during accessings of a +information about coping with interruptions during accesses of a variable. Here is another way you can test whether the handler has run since the diff --git a/manual/stdio.texi b/manual/stdio.texi index 98c4de7e13..4c6c6e5ed1 100644 --- a/manual/stdio.texi +++ b/manual/stdio.texi @@ -1321,7 +1321,7 @@ numbers are represented is the form @w{[@code{-}]@code{0x}@var{h}@code{.}@var{hhh}@code{p}[@code{+}|@code{-}]@var{dd}}. At the left of the decimal-point character exactly one digit is print. This character is only @code{0} if the number is denormalized. -Otherwise the value is unspecified; it is implemention dependent how many +Otherwise the value is unspecified; it is implementation dependent how many bits are used. The number of hexadecimal digits on the right side of the decimal-point character is equal to the precision. If the precision is zero it is determined to be large enough to provide an exact diff --git a/manual/string.texi b/manual/string.texi index 38c5c15fa9..4657ed4da1 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -491,7 +491,7 @@ common example: @cindex __va_copy @cindex va_copy @smallexample -/* @r{This function concats arbitrary many strings. The last} +/* @r{This function concatenates arbitrarily many strings. The last} @r{parameter must be @code{NULL}.} */ char * concat (const char *str, ...) @@ -536,7 +536,7 @@ bytes for the end of the string so that we can append the next string. For all strings in total the comparisons necessary to find the end of the intermediate results sums up to 5500! If we combine the copying with the search for the allocation we can write this function more -efficent: +efficient: @smallexample char * @@ -1575,7 +1575,7 @@ the same elements, which is returned in @var{argz} and @var{argz_len}. @deftypefun {error_t} argz_create_sep (const char *@var{string}, int @var{sep}, char **@var{argz}, size_t *@var{argz_len}) The @code{argz_create_sep} function converts the null-terminated string @var{string} into an argz vector (returned in @var{argz} and -@var{argz_len}) by splitting it into elements at every occurance of the +@var{argz_len}) by splitting it into elements at every occurrence of the character @var{sep}. @end deftypefun @@ -1625,7 +1625,7 @@ argz vector @code{*@var{argz}}, and updates @code{*@var{argz}} and @comment GNU @deftypefun {error_t} argz_add_sep (char **@var{argz}, size_t *@var{argz_len}, const char *@var{str}, int @var{delim}) The @code{argz_add_sep} function is similar to @code{argz_add}, but -@var{str} is split into separate elements in the result at occurances of +@var{str} is split into separate elements in the result at occurrences of the character @var{delim}. This is useful, for instance, for adding the components of a Unix search path to an argz vector, by using a value of @code{':'} for @var{delim}. @@ -1700,7 +1700,7 @@ invariant is maintained for argz vectors created by the functions here. @comment argz.h @comment GNU @deftypefun error_t argz_replace (@w{char **@var{argz}, size_t *@var{argz_len}}, @w{const char *@var{str}, const char *@var{with}}, @w{unsigned *@var{replace_count}}) -Replace any occurances of the string @var{str} in @var{argz} with +Replace any occurrences of the string @var{str} in @var{argz} with @var{with}, reallocating @var{argz} as necessary. If @var{replace_count} is non-zero, @code{*@var{replace_count}} will be incremented by number of replacements performed. diff --git a/manual/sysinfo.texi b/manual/sysinfo.texi index 5251b9a674..5bce9a53ef 100644 --- a/manual/sysinfo.texi +++ b/manual/sysinfo.texi @@ -420,7 +420,7 @@ to rely on these macros but to be consistent here is the list: @vtable @code @item MNTOPT_DEFAULTS Expands to @code{"defaults"}. This option should be used alone since it -indicates all values for the custumizable values are chosen to be the +indicates all values for the customizable values are chosen to be the default. @item MNTOPT_RO Expands to @code{"ro"}. See the @code{FSTAB_RO} value, it means the diff --git a/manual/users.texi b/manual/users.texi index e6318ac76b..efe0b530ad 100644 --- a/manual/users.texi +++ b/manual/users.texi @@ -1482,7 +1482,7 @@ pointed to by the elements of the result structure. If a user with ID @var{uid} is found, the pointer returned in @var{result} points to the record which contains the wanted data (i.e., @var{result} contains the value @var{result_buf}). If no user is found -or if an error occured, the pointer returned in @var{result} is a null +or if an error occurred, the pointer returned in @var{result} is a null pointer. The function returns zero or an error code. If the buffer @var{buffer} is too small to contain all the needed information, the error code @code{ERANGE} is returned and @var{errno} is set to @@ -1695,7 +1695,7 @@ pointed to by the elements of the result structure. If a group with ID @var{gid} is found, the pointer returned in @var{result} points to the record which contains the wanted data (i.e., @var{result} contains the value @var{result_buf}). If no group is found -or if an error occured, the pointer returned in @var{result} is a null +or if an error occurred, the pointer returned in @var{result} is a null pointer. The function returns zero or an error code. If the buffer @var{buffer} is too small to contain all the needed information, the error code @code{ERANGE} is returned and @var{errno} is set to |