mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-23 16:17:40 +01:00
15 lines
272 B
C++
15 lines
272 B
C++
|
|
||
|
//#include <posix.h> // use angled, so posix.h will vary depending of the platform
|
||
|
|
||
|
#include <wchar.h>
|
||
|
|
||
|
|
||
|
size_t wcslen(const wchar_t *s)
|
||
|
{
|
||
|
const wchar_t* p = s;
|
||
|
while ( *p++ );
|
||
|
return (size_t)(p-s-1);
|
||
|
}
|
||
|
|
||
|
//int wcsncmp(const wchar_t *s1, const wchar_t * s2, size_t n);
|