aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
Diffstat (limited to 'manual')
-rw-r--r--manual/arith.texi7
-rw-r--r--manual/mbyte.texi2
-rw-r--r--manual/time.texi2
3 files changed, 4 insertions, 7 deletions
diff --git a/manual/arith.texi b/manual/arith.texi
index 563d9859af..21b6380fca 100644
--- a/manual/arith.texi
+++ b/manual/arith.texi
@@ -1056,16 +1056,13 @@ There is an example at the end of this section.
@deftypefun {unsigned long int} strtoul (const char *@var{string}, char **@var{tailptr}, int @var{base})
The @code{strtoul} (``string-to-unsigned-long'') function is like
@code{strtol} except it deals with unsigned numbers, and returns its
-value with type @code{unsigned long int}. No @samp{+} or @samp{-} sign
-may appear before the number, but the syntax is otherwise the same as
+value with type @code{unsigned long int}. If the number has a leading
+@samp{-} sign the negated value is returned. The syntax is the same as
described above for @code{strtol}. The value returned in case of
overflow is @code{ULONG_MAX} (@pxref{Range of Type}).
Like @code{strtol} this function sets @code{errno} and returns the value
@code{0ul} in case the value for @var{base} is not in the legal range.
-For @code{strtoul} this can happen in another situation. In case the
-number to be converted is negative @code{strtoul} also sets @code{errno}
-to @code{EINVAL} and returns @code{0ul}.
@end deftypefun
@comment stdlib.h
diff --git a/manual/mbyte.texi b/manual/mbyte.texi
index 15f185b54d..4ff9a1b974 100644
--- a/manual/mbyte.texi
+++ b/manual/mbyte.texi
@@ -399,7 +399,7 @@ mbstowcs_alloc (const char *string)
@comment stdlib.h
@comment ISO
-@deftypefun size_t wcstombs (char *@var{string}, const wchar_t @var{wstring}, size_t @var{size})
+@deftypefun size_t wcstombs (char *@var{string}, const wchar_t *@var{wstring}, size_t @var{size})
The @code{wcstombs} (``wide character string to multibyte string'')
function converts the null-terminated wide character array @var{wstring}
into a string containing multibyte characters, storing not more than
diff --git a/manual/time.texi b/manual/time.texi
index f38c2eb87c..e280716304 100644
--- a/manual/time.texi
+++ b/manual/time.texi
@@ -1812,7 +1812,7 @@ The smallest valid priority value.
@comment BSD
@item PRIO_MAX
@vindex PRIO_MAX
-The smallest valid priority value.
+The largest valid priority value.
@end table
@comment sys/resource.h