This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] manual: Fix inconsistent declaration of wcsrchr [BZ #24655]
- From: Girish Joshi <girish946 at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Sat, 7 Mar 2020 01:20:54 +0530
- Subject: [PATCH] manual: Fix inconsistent declaration of wcsrchr [BZ #24655]
>From b57ef57574f9253a2147d9f21ca1766246d78eaf Mon Sep 17 00:00:00 2001
From: Girish Joshi <girish946@gmail.com>
Date: Sat, 7 Mar 2020 01:17:01 +0530
Subject: [PATCH] manual: Fix inconsistent declaration of wcsrchr [BZ #24655]
---
manual/string.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/manual/string.texi b/manual/string.texi
index c39c732ce4..23f516439a 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -1852,7 +1852,7 @@ strrchr ("hello, world", 'l')
@end smallexample
@end deftypefun
-@deftypefun {wchar_t *} wcsrchr (const wchar_t *@var{wstring}, wchar_t @var{c})
+@deftypefun {wchar_t *} wcsrchr (const wchar_t *@var{wstring},
wchar_t @var{wc})
@standards{ISO, wchar.h}
@safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
The function @code{wcsrchr} is like @code{wcschr}, except that it searches
--
2.21.1
Girish