Hi All
Are there wcslen(), wcsncmp() and others in libc?
If not where are they?
Thanx in advance.
Dmitri
Hi All
Are there wcslen(), wcsncmp() and others in libc?
If not where are they?
Thanx in advance.
Dmitri
Dmitri Sidelnikov <helgibull@himike.tomsknet.ru> wrote:
: Hi All
: Are there wcslen(), wcsncmp() and others in libc?
: If not where are they?
The dinkum lib will have them, but meanwhile
you could write trivial replacements: something like
#include <wchar.h>
size_t wcslen( const wchar_t *str )
{
const wchar_t *p = str;
while( *p != Lā\0ā ) ++p;
return( p - str );
}
alain