CloverBootloader/rEFIt_UEFI/PlatformEFI/posix/wchar.cpp
2021-04-03 13:55:25 +03:00

15 lines
272 B
C++
Executable File

//#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);