mirror of
https://github.com/adtools/clib2.git
synced 2025-12-08 14:59:05 +00:00
Implement few wide char functions.
This commit is contained in:
@ -37,9 +37,12 @@
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
/* Implementation based on musl */
|
||||
|
||||
size_t
|
||||
wcslen(const wchar_t *s)
|
||||
{
|
||||
/* ZZZ unimplemented */
|
||||
return(0);
|
||||
const wchar_t *a;
|
||||
for (a=s; *s; s++);
|
||||
return s-a;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user