Commit 65f7d5ec authored by Bartosz Kosiorek's avatar Bartosz Kosiorek Committed by Alexandre Julliard

msvcrt: Add _mbsspnp_l implementation.

parent c9467132
......@@ -1186,7 +1186,7 @@
@ cdecl _mbsspn(str str)
@ cdecl _mbsspn_l(str str ptr)
@ cdecl _mbsspnp(str str)
@ stub _mbsspnp_l
@ cdecl _mbsspnp_l(str str ptr)
@ cdecl _mbsstr(str str)
@ stub _mbsstr_l
@ cdecl _mbstok(str str)
......
......@@ -1543,7 +1543,7 @@
@ cdecl _mbsspn(str str)
@ cdecl _mbsspn_l(str str ptr)
@ cdecl _mbsspnp(str str)
@ stub _mbsspnp_l
@ cdecl _mbsspnp_l(str str ptr)
@ cdecl _mbsstr(str str)
@ stub _mbsstr_l
@ cdecl _mbstok(str str)
......
......@@ -1554,7 +1554,7 @@
@ cdecl _mbsspn(str str)
@ cdecl _mbsspn_l(str str ptr)
@ cdecl _mbsspnp(str str)
@ stub _mbsspnp_l
@ cdecl _mbsspnp_l(str str ptr)
@ cdecl _mbsstr(str str)
@ stub _mbsstr_l
@ cdecl _mbstok(str str)
......
......@@ -858,7 +858,7 @@
@ cdecl _mbsspn(str str)
@ cdecl _mbsspn_l(str str ptr)
@ cdecl _mbsspnp(str str)
@ stub _mbsspnp_l
@ cdecl _mbsspnp_l(str str ptr)
@ cdecl _mbsstr(str str)
@ stub _mbsstr_l
@ cdecl _mbstok(str str)
......
......@@ -836,7 +836,7 @@
@ cdecl _mbsspn(str str)
@ cdecl _mbsspn_l(str str ptr)
@ cdecl _mbsspnp(str str)
@ stub _mbsspnp_l
@ cdecl _mbsspnp_l(str str ptr)
@ cdecl _mbsstr(str str)
@ stub _mbsstr_l
@ cdecl _mbstok(str str)
......
......@@ -2829,12 +2829,23 @@ size_t CDECL _mbsspn(const unsigned char* string, const unsigned char* set)
}
/*********************************************************************
* _mbsspnp_l (MSVCRT.@)
*/
unsigned char* CDECL _mbsspnp_l(const unsigned char* string, const unsigned char* set, _locale_t locale)
{
if (!MSVCRT_CHECK_PMT(string && set))
return 0;
string += _mbsspn_l(string, set, locale);
return *string ? (unsigned char*)string : NULL;
}
/*********************************************************************
* _mbsspnp (MSVCRT.@)
*/
unsigned char* CDECL _mbsspnp(const unsigned char* string, const unsigned char* set)
{
string += _mbsspn( string, set );
return *string ? (unsigned char*)string : NULL;
return _mbsspnp_l(string, set, NULL);
}
/*********************************************************************
......
......@@ -807,7 +807,7 @@
@ cdecl _mbsspn(str str)
@ cdecl _mbsspn_l(str str ptr)
@ cdecl _mbsspnp(str str)
# stub _mbsspnp_l(str str ptr)
@ cdecl _mbsspnp_l(str str ptr)
@ cdecl _mbsstr(str str)
# stub _mbsstr_l(str str ptr)
@ cdecl _mbstok(str str)
......
......@@ -702,7 +702,7 @@
@ cdecl _mbsspn(str str)
@ cdecl _mbsspn_l(str str ptr)
@ cdecl _mbsspnp(str str)
@ stub _mbsspnp_l
@ cdecl _mbsspnp_l(str str ptr)
@ cdecl _mbsstr(str str)
@ stub _mbsstr_l
@ cdecl _mbstok(str str)
......@@ -1271,7 +1271,7 @@
@ cdecl _o__mbsspn(str str) _mbsspn
@ cdecl _o__mbsspn_l(str str ptr) _mbsspn_l
@ cdecl _o__mbsspnp(str str) _mbsspnp
@ stub _o__mbsspnp_l
@ cdecl _o__mbsspnp_l(str str ptr) _mbsspnp_l
@ cdecl _o__mbsstr(str str) _mbsstr
@ stub _o__mbsstr_l
@ cdecl _o__mbstok(str str) _mbstok
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment