diff options
author | Ville Skytta <ville.skytta@iki.fi> | 2013-12-30 15:29:35 +0100 |
---|---|---|
committer | Ondřej Bílka <neleai@seznam.cz> | 2013-12-30 15:42:26 +0100 |
commit | 9dcc8f116c57767cbdb967d57523c2050c25a583 (patch) | |
tree | 8a1644d71deb804b101852a3ff5cdfb72ad5ba93 /manual | |
parent | d97ae285e8c82cc07b719283e8a3dc799c1b9587 (diff) | |
download | glibc-9dcc8f116c57767cbdb967d57523c2050c25a583.tar.gz glibc-9dcc8f116c57767cbdb967d57523c2050c25a583.tar.xz glibc-9dcc8f116c57767cbdb967d57523c2050c25a583.zip |
Fix spelling in manual, as in bug 16376
Diffstat (limited to 'manual')
-rw-r--r-- | manual/arith.texi | 2 | ||||
-rw-r--r-- | manual/charset.texi | 4 | ||||
-rw-r--r-- | manual/errno.texi | 8 | ||||
-rw-r--r-- | manual/filesys.texi | 2 | ||||
-rw-r--r-- | manual/lang.texi | 2 | ||||
-rw-r--r-- | manual/llio.texi | 2 | ||||
-rw-r--r-- | manual/locale.texi | 2 | ||||
-rw-r--r-- | manual/message.texi | 4 | ||||
-rw-r--r-- | manual/resource.texi | 2 | ||||
-rw-r--r-- | manual/search.texi | 4 | ||||
-rw-r--r-- | manual/setjmp.texi | 2 | ||||
-rw-r--r-- | manual/stdio.texi | 4 | ||||
-rw-r--r-- | manual/string.texi | 6 | ||||
-rw-r--r-- | manual/sysinfo.texi | 2 | ||||
-rw-r--r-- | manual/time.texi | 2 |
15 files changed, 24 insertions, 24 deletions
diff --git a/manual/arith.texi b/manual/arith.texi index 9cd61272d3..d394c07881 100644 --- a/manual/arith.texi +++ b/manual/arith.texi @@ -2001,7 +2001,7 @@ number. This angle is measured in the usual fashion and ranges from @comment ISO @deftypefunx {complex long double} cprojl (complex long double @var{z}) These functions return the projection of the complex value @var{z} onto -the Riemann sphere. Values with a infinite imaginary part are projected +the Riemann sphere. Values with an infinite imaginary part are projected to positive infinity on the real axis, even if the real part is NaN. If the real part is infinite, the result is equivalent to diff --git a/manual/charset.texi b/manual/charset.texi index 4042639305..a3e2577bfc 100644 --- a/manual/charset.texi +++ b/manual/charset.texi @@ -956,7 +956,7 @@ extensions that can help in some important situations. @comment ISO @deftypefun size_t mbsrtowcs (wchar_t *restrict @var{dst}, const char **restrict @var{src}, size_t @var{len}, mbstate_t *restrict @var{ps}) The @code{mbsrtowcs} function (``multibyte string restartable to wide -character string'') converts an NUL-terminated multibyte character +character string'') converts a NUL-terminated multibyte character string at @code{*@var{src}} into an equivalent wide character string, including the NUL wide character at the end. The conversion is started using the state information from the object pointed to by @var{ps} or @@ -2485,7 +2485,7 @@ destination character sets, respectively. If the characters all have the same size, the minimum and maximum values are the same. @item __stateful -This element must be initialized to an nonzero value if the source +This element must be initialized to a nonzero value if the source character set is stateful. Otherwise it must be zero. @end table diff --git a/manual/errno.texi b/manual/errno.texi index 6c9fa865dd..b1bfbe9376 100644 --- a/manual/errno.texi +++ b/manual/errno.texi @@ -1596,7 +1596,7 @@ are not used. @deftypefun void vwarn (const char *@var{format}, va_list @var{ap}) The @code{vwarn} function is just like @code{warn} except that the parameters for the handling of the format string @var{format} are passed -in as an value of type @code{va_list}. +in as a value of type @code{va_list}. @end deftypefun @comment err.h @@ -1617,7 +1617,7 @@ string is printed. @deftypefun void vwarnx (const char *@var{format}, va_list @var{ap}) The @code{vwarnx} function is just like @code{warnx} except that the parameters for the handling of the format string @var{format} are passed -in as an value of type @code{va_list}. +in as a value of type @code{va_list}. @end deftypefun @comment err.h @@ -1637,7 +1637,7 @@ are not used and that the program is exited even if @var{status} is zero. @deftypefun void verr (int @var{status}, const char *@var{format}, va_list @var{ap}) The @code{verr} function is just like @code{err} except that the parameters for the handling of the format string @var{format} are passed -in as an value of type @code{va_list}. +in as a value of type @code{va_list}. @end deftypefun @comment err.h @@ -1659,5 +1659,5 @@ string is printed. @deftypefun void verrx (int @var{status}, const char *@var{format}, va_list @var{ap}) The @code{verrx} function is just like @code{errx} except that the parameters for the handling of the format string @var{format} are passed -in as an value of type @code{va_list}. +in as a value of type @code{va_list}. @end deftypefun diff --git a/manual/filesys.texi b/manual/filesys.texi index 1cac45393d..459fb1f5ae 100644 --- a/manual/filesys.texi +++ b/manual/filesys.texi @@ -2146,7 +2146,7 @@ In all other cases the result is zero. @comment POSIX @deftypefn Macro int S_TYPEISSHM (struct stat *@var{s}) If the system implement POSIX shared memory objects as distinct objects -and the file is an shared memory object, this macro returns a non-zero +and the file is a shared memory object, this macro returns a non-zero value. In all other cases the result is zero. @end deftypefn diff --git a/manual/lang.texi b/manual/lang.texi index ee04e233a9..7a556733e2 100644 --- a/manual/lang.texi +++ b/manual/lang.texi @@ -1212,7 +1212,7 @@ type of a particular structure member. @comment stddef.h @comment ISO @deftypefn {Macro} size_t offsetof (@var{type}, @var{member}) -This expands to a integer constant expression that is the offset of the +This expands to an integer constant expression that is the offset of the structure member named @var{member} in the structure type @var{type}. For example, @code{offsetof (struct s, elem)} is the offset, in bytes, of the member @code{elem} in a @code{struct s}. diff --git a/manual/llio.texi b/manual/llio.texi index b6c926060e..916edbd4f6 100644 --- a/manual/llio.texi +++ b/manual/llio.texi @@ -2039,7 +2039,7 @@ this happens an error was encountered. The first @code{aiocbp->aio_nbytes} bytes from the buffer starting at @code{aiocbp->aio_buf} are written to the file for which -@code{aiocbp->aio_fildes} is an descriptor, starting at the absolute +@code{aiocbp->aio_fildes} is a descriptor, starting at the absolute position @code{aiocbp->aio_offset} in the file. If prioritized I/O is supported by the platform, the diff --git a/manual/locale.texi b/manual/locale.texi index 2f10fcd2af..a11c7d8549 100644 --- a/manual/locale.texi +++ b/manual/locale.texi @@ -1236,5 +1236,5 @@ This function would normally be used like this: free (line); @end smallexample -Note that the loop continues until an read error is detected or until a +Note that the loop continues until a read error is detected or until a definitive (positive or negative) answer is read. diff --git a/manual/message.texi b/manual/message.texi index bb5b11bc6f..804da105a3 100644 --- a/manual/message.texi +++ b/manual/message.texi @@ -967,7 +967,7 @@ If a catalog for a wanted language is not available it is not always the second best choice to fall back on the language of the developer and simply not translate any message. Instead a user might be better able to read the messages in another language and so the user of the program -should be able to define an precedence order of languages. +should be able to define a precedence order of languages. @end itemize We can divide the configuration actions in two parts: the one is @@ -1114,7 +1114,7 @@ only usable for certain, hardcoded language environments. Instead the extended @code{gettext} interface should be used. These extra functions are taking instead of the one key string two -strings and an numerical argument. The idea behind this is that using +strings and a numerical argument. The idea behind this is that using the numerical argument and the first string as a key, the implementation can select using rules specified by the translator the right plural form. The two string arguments then will be used to provide a return diff --git a/manual/resource.texi b/manual/resource.texi index 1ec7af29f0..5a1bb040be 100644 --- a/manual/resource.texi +++ b/manual/resource.texi @@ -1045,7 +1045,7 @@ describes the only scheduling many programmers need to be concerned about. But just to be clear about the scope of this scheduling: Any time a -process with a absolute priority of 0 and a process with an absolute +process with an absolute priority of 0 and a process with an absolute priority higher than 0 are ready to run at the same time, the one with absolute priority 0 does not run. If it's already running when the higher priority ready-to-run process comes into existence, it stops diff --git a/manual/search.texi b/manual/search.texi index efd3604790..a714ba7812 100644 --- a/manual/search.texi +++ b/manual/search.texi @@ -270,7 +270,7 @@ information. The weakest aspect of this function is that there can be at most one hashing table used through the whole program. The table is allocated in local memory out of control of the programmer. As an extension @theglibc{} -provides an additional set of functions with an reentrant +provides an additional set of functions with a reentrant interface which provide a similar interface but which allow to keep arbitrarily many hashing tables. @@ -401,7 +401,7 @@ the failure. @table @code @item ENOMEM -The table is filled and @code{hsearch_r} was called with an so far +The table is filled and @code{hsearch_r} was called with a so far unknown key and @var{action} set to @code{ENTER}. @item ESRCH The @var{action} parameter is @code{FIND} and no corresponding element diff --git a/manual/setjmp.texi b/manual/setjmp.texi index f13ac7b00e..b3c0a7ba51 100644 --- a/manual/setjmp.texi +++ b/manual/setjmp.texi @@ -141,7 +141,7 @@ As the test expression of a selection or iteration statement (such as @samp{if}, @samp{switch}, or @samp{while}). @item -As one operand of a equality or comparison operator that appears as the +As one operand of an equality or comparison operator that appears as the test expression of a selection or iteration statement. The other operand must be an integer constant expression. diff --git a/manual/stdio.texi b/manual/stdio.texi index 7dcacd8af4..7957a2adfc 100644 --- a/manual/stdio.texi +++ b/manual/stdio.texi @@ -1670,7 +1670,7 @@ limit can be retrieved by the following constant. @defvr Macro NL_ARGMAX The value of @code{NL_ARGMAX} is the maximum value allowed for the -specification of an positional parameter in a @code{printf} call. The +specification of a positional parameter in a @code{printf} call. The actual value in effect at runtime can be retrieved by using @code{sysconf} using the @code{_SC_NL_ARGMAX} parameter @pxref{Sysconf Definition}. @@ -2330,7 +2330,7 @@ Note that the corresponding narrow stream function takes fewer parameters. @code{swprintf} in fact corresponds to the @code{snprintf} function. Since the @code{sprintf} function can be dangerous and should be avoided the @w{ISO C} committee refused to make the same mistake -again and decided to not define an function exactly corresponding to +again and decided to not define a function exactly corresponding to @code{sprintf}. @end deftypefun diff --git a/manual/string.texi b/manual/string.texi index 1e45d9ddbc..e59f18c9ce 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -200,7 +200,7 @@ known size. @cindex parameter promotion Some of the memory and string functions take single characters as arguments. Since a value of type @code{char} is automatically promoted -into an value of type @code{int} when used as a parameter, the functions +into a value of type @code{int} when used as a parameter, the functions are declared with @code{int} as the type of the parameter in question. In case of the wide character function the situation is similarly: the parameter type for a single wide character is @code{wint_t} and not @@ -1773,7 +1773,7 @@ character of the substring, or a null pointer if no match was found. If @comment wchar.h @comment XPG @deftypefun {wchar_t *} wcswcs (const wchar_t *@var{haystack}, const wchar_t *@var{needle}) -@code{wcswcs} is an deprecated alias for @code{wcsstr}. This is the +@code{wcswcs} is a deprecated alias for @code{wcsstr}. This is the name originally used in the X/Open Portability Guide before the @w{Amendment 1} to @w{ISO C90} was published. @end deftypefun @@ -2291,7 +2291,7 @@ that described in @xref{Cryptographic Functions}. To store or transfer binary data in environments which only support text one has to encode the binary data by mapping the input bytes to -characters in the range allowed for storing or transfering. SVID +characters in the range allowed for storing or transferring. SVID systems (and nowadays XPG compliant systems) provide minimal support for this task. diff --git a/manual/sysinfo.texi b/manual/sysinfo.texi index 5df2a0f243..5b6e8d017c 100644 --- a/manual/sysinfo.texi +++ b/manual/sysinfo.texi @@ -226,7 +226,7 @@ associated data type are declared in the header file As a bonus, @code{uname} also gives some information identifying the particular system your program is running on. This is the same information -which you can get with functions targetted to this purpose described in +which you can get with functions targeted to this purpose described in @ref{Host Identification}. diff --git a/manual/time.texi b/manual/time.texi index e7e8647ee2..5b6e0989d7 100644 --- a/manual/time.texi +++ b/manual/time.texi @@ -750,7 +750,7 @@ structure. It uses the values of the other components to determine the calendar time; it's permissible for these components to have unnormalized values outside their normal ranges. The last thing that @code{mktime} does is adjust the components of the @var{brokentime} -structure, including the members that were initally ignored. +structure, including the members that were initially ignored. If the specified broken-down time cannot be represented as a simple time, @code{mktime} returns a value of @code{(time_t)(-1)} and does not modify |