summaryrefslogtreecommitdiff
path: root/src/string/wcslen.c
blob: 1b7b66550c618a2126fdd92eefa0ea38af48d356 (plain) (blame)
1
2
3
4
5
6
7
8
#include <wchar.h>

size_t wcslen(const wchar_t *s)
{
	const wchar_t *a;
	for (a=s; *s; s++);
	return s-a;
}