aboutsummaryrefslogtreecommitdiffstats
path: root/src/wchar
diff options
context:
space:
mode:
Diffstat (limited to 'src/wchar')
-rw-r--r--src/wchar/wcscpy.c4
-rw-r--r--src/wchar/wcsmove.c2
-rw-r--r--src/wchar/wcsspn.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/wchar/wcscpy.c b/src/wchar/wcscpy.c
index 37b8ed4..9c1207d 100644
--- a/src/wchar/wcscpy.c
+++ b/src/wchar/wcscpy.c
@@ -91,7 +91,7 @@ wchar_t* wcsccpy(wchar_t* restrict whither, const wchar_t* restrict whence, wcha
* one character passed the last written non-NUL
* character.
*/
-wchar_t* wcswcscpy(wchar_t* restrict whither, const wchar_t* restrict whence, const wchar_t* restrict str)
+wchar_t* wcsstrcpy(wchar_t* restrict whither, const wchar_t* restrict whence, const wchar_t* restrict str)
{
const wchar_t* stop = str == NULL ? NULL : wcsstr(whence, str);
size_t n = stop == NULL ? wcslen(whence) : (size_t)(stop - whence);
@@ -209,7 +209,7 @@ wchar_t* wcscncpy(wchar_t* restrict whither, const wchar_t* restrict whence, wch
* one character passed the last written non-NUL
* character.
*/
-wchar_t* wcswcsncpy(wchar_t* restrict whither, const wchar_t* restrict whence,
+wchar_t* wcsstrncpy(wchar_t* restrict whither, const wchar_t* restrict whence,
const wchar_t* restrict str, size_t maxlen)
{
const wchar_t* stop = wcsnstr(whence, str, maxlen);
diff --git a/src/wchar/wcsmove.c b/src/wchar/wcsmove.c
index bf86928..041d194 100644
--- a/src/wchar/wcsmove.c
+++ b/src/wchar/wcsmove.c
@@ -93,7 +93,7 @@ wchar_t* wcscmove(wchar_t* whither, const wchar_t* whence, wchar_t c)
* one character passed the last written non-NUL
* character.
*/
-wchar_t* wcswcsmove(wchar_t* whither, const wchar_t* whence, const wchar_t* restrict str)
+wchar_t* wcsstrmove(wchar_t* whither, const wchar_t* whence, const wchar_t* restrict str)
{
const wchar_t* stop = str == NULL ? NULL : wcsstr(whence, str);
size_t n = stop == NULL ? wcslen(whence) : (size_t)(stop - whence);
diff --git a/src/wchar/wcsspn.c b/src/wchar/wcsspn.c
index d0ce908..239b863 100644
--- a/src/wchar/wcsspn.c
+++ b/src/wchar/wcsspn.c
@@ -75,7 +75,7 @@ size_t wcscspn(const wchar_t* string, const wchar_t* stopset)
* `string` of a character found in `stopset`.
* `NULL` is returned if none is found.
*/
-wchar_t* wcpbrk(const wchar_t* string, const wchar_t* stopset)
+wchar_t* wcspbrk(const wchar_t* string, const wchar_t* stopset)
{
string += wcscspn(string, stopset);
return *string ? string : NULL;