TDL/Source/Furutaka/minirtl/_strend.c

24 lines
243 B
C
Raw Permalink Normal View History

2016-02-04 12:42:05 +08:00
#include "rtltypes.h"
char *_strend_a(const char *s)
{
if ( s==0 )
return 0;
while ( *s!=0 )
s++;
return (char *)s;
}
wchar_t *_strend_w(const wchar_t *s)
{
if ( s==0 )
return 0;
while ( *s!=0 )
s++;
return (wchar_t *)s;
}