ntdll: Export strnlen.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2018-01-18 19:19:28 +01:00
parent f4e75d780b
commit 7bcb214158
2 changed files with 10 additions and 0 deletions

View File

@ -1431,6 +1431,7 @@
@ cdecl -private strncat(str str long) NTDLL_strncat @ cdecl -private strncat(str str long) NTDLL_strncat
@ cdecl -private strncmp(str str long) NTDLL_strncmp @ cdecl -private strncmp(str str long) NTDLL_strncmp
@ cdecl -private strncpy(ptr str long) NTDLL_strncpy @ cdecl -private strncpy(ptr str long) NTDLL_strncpy
@ cdecl -private strnlen(ptr long) NTDLL_strnlen
@ cdecl -private strpbrk(str str) NTDLL_strpbrk @ cdecl -private strpbrk(str str) NTDLL_strpbrk
@ cdecl -private strrchr(str long) NTDLL_strrchr @ cdecl -private strrchr(str long) NTDLL_strrchr
@ cdecl -private strspn(str str) NTDLL_strspn @ cdecl -private strspn(str str) NTDLL_strspn

View File

@ -163,6 +163,15 @@ char * __cdecl NTDLL_strncpy( char *dst, const char *src, size_t len )
} }
/*********************************************************************
* strnlen (NTDLL.@)
*/
size_t __cdecl NTDLL_strnlen( const char *str, size_t len )
{
return strnlen( str, len );
}
/********************************************************************* /*********************************************************************
* strpbrk (NTDLL.@) * strpbrk (NTDLL.@)
*/ */