Commit 7bcb2141 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Export strnlen.

parent f4e75d78
...@@ -1431,6 +1431,7 @@ ...@@ -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
......
...@@ -164,6 +164,15 @@ char * __cdecl NTDLL_strncpy( char *dst, const char *src, size_t len ) ...@@ -164,6 +164,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.@)
*/ */
char * __cdecl NTDLL_strpbrk( const char *str, const char *accept ) char * __cdecl NTDLL_strpbrk( const char *str, const char *accept )
......
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