msvcrt: Add _mbsinc_l implementation.

This commit is contained in:
Bartosz Kosiorek 2022-10-23 22:48:52 +02:00 committed by Alexandre Julliard
parent 46c836071e
commit 3cb897ffbb
8 changed files with 17 additions and 9 deletions

View file

@ -1116,7 +1116,7 @@
@ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str)
@ stub _mbsinc_l
@ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)

View file

@ -1473,7 +1473,7 @@
@ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str)
@ stub _mbsinc_l
@ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)

View file

@ -1484,7 +1484,7 @@
@ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str)
@ stub _mbsinc_l
@ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)

View file

@ -788,7 +788,7 @@
@ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str)
@ stub _mbsinc_l
@ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)

View file

@ -766,7 +766,7 @@
@ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str)
@ stub _mbsinc_l
@ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)

View file

@ -654,12 +654,20 @@ size_t CDECL _mbclen(const unsigned char* str)
return _mbclen_l(str, NULL);
}
/*********************************************************************
* _mbsinc_l(MSVCRT.@)
*/
unsigned char* CDECL _mbsinc_l(const unsigned char* str, _locale_t locale)
{
return (unsigned char *)(str + _mbclen_l(str, locale));
}
/*********************************************************************
* _mbsinc(MSVCRT.@)
*/
unsigned char* CDECL _mbsinc(const unsigned char* str)
{
return (unsigned char *)(str + _mbclen(str));
return _mbsinc_l(str, NULL);
}
/*********************************************************************

View file

@ -737,7 +737,7 @@
@ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str)
# stub _mbsinc_l(str ptr)
@ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)

View file

@ -631,7 +631,7 @@
@ cdecl _mbsicoll(str str)
@ cdecl _mbsicoll_l(str str ptr)
@ cdecl _mbsinc(str)
@ stub _mbsinc_l
@ cdecl _mbsinc_l(str ptr)
@ cdecl _mbslen(str)
@ cdecl _mbslen_l(str ptr)
@ cdecl _mbslwr(str)
@ -1200,7 +1200,7 @@
@ cdecl _o__mbsicoll(str str) _mbsicoll
@ cdecl _o__mbsicoll_l(str str ptr) _mbsicoll_l
@ cdecl _o__mbsinc(str) _mbsinc
@ stub _o__mbsinc_l
@ cdecl _o__mbsinc_l(str ptr) _mbsinc_l
@ cdecl _o__mbslen(str) _mbslen
@ cdecl _o__mbslen_l(str ptr) _mbslen_l
@ cdecl _o__mbslwr(str) _mbslwr