aboutsummaryrefslogtreecommitdiff
path: root/system/lib/libc/musl/src/string/wcslen.c
blob: 1b7b66550c618a2126fdd92eefa0ea38af48d356 (plain)
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;
}