diff options
Diffstat (limited to 'src/wchar/wcslen.c')
| -rw-r--r-- | src/wchar/wcslen.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/wchar/wcslen.c b/src/wchar/wcslen.c new file mode 100644 index 00000000..5b4ec7be --- /dev/null +++ b/src/wchar/wcslen.c @@ -0,0 +1,14 @@ +#include <wchar.h> + +size_t wcslen(const wchar_t * s) +{ + size_t l = 0; + while (s[l] != L'\0') { + l++; + } + return l; +} + +/* +STDC(199409) +*/ |
