This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED] manual: fix a typo in strtoul description [BZ #21161]
- From: Aurelien Jarno <aurelien at aurel32 dot net>
- To: libc-alpha at sourceware dot org
- Cc: Aurelien Jarno <aurelien at aurel32 dot net>
- Date: Sat, 23 Dec 2017 15:02:29 +0100
- Subject: [COMMITTED] manual: fix a typo in strtoul description [BZ #21161]
- Authentication-results: sourceware.org; auth=none
Typo reported by Vincent Lefèvre: 'retrict' -> 'restrict'.
Changelog:
[BZ #21161]
* manual/arith.texi (strtoul): Fix a typo.
---
ChangeLog | 3 +++
manual/arith.texi | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index c29d25a6fa..4050ec4e53 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
+ [BZ #21161]
+ * manual/arith.texi (strtoul): Fix a typo.
+
[BZ #22596]
* manual/arith.texi (finite): Fix the description of the return
value.
diff --git a/manual/arith.texi b/manual/arith.texi
index 4649bdf956..56ae6ddb35 100644
--- a/manual/arith.texi
+++ b/manual/arith.texi
@@ -2484,7 +2484,7 @@ in nearly all aspects but handles wide character strings.
The @code{wcstol} function was introduced in @w{Amendment 1} of @w{ISO C90}.
@end deftypefun
-@deftypefun {unsigned long int} strtoul (const char *retrict @var{string}, char **restrict @var{tailptr}, int @var{base})
+@deftypefun {unsigned long int} strtoul (const char *restrict @var{string}, char **restrict @var{tailptr}, int @var{base})
@standards{ISO, stdlib.h}
@safety{@prelim{}@mtsafe{@mtslocale{}}@assafe{}@acsafe{}}
The @code{strtoul} (``string-to-unsigned-long'') function is like
--
2.15.1