toaruos/libc/wchar/wcslen.c

11 lines
120 B
C
Raw Normal View History

2018-06-25 09:45:32 +03:00
#include <wchar.h>
size_t wcslen(const wchar_t * s) {
size_t out = 0;
while (*s) {
out++;
s++;
}
return out;
}