summaryrefslogtreecommitdiff
path: root/lib9/runestrlen.c
blob: e1cd84ac4913357d76bd69cc1a6b2796a7b9c7e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "lib9.h"


long
runestrlen(Rune *s)
{
	int i;

	i = 0;
	while(*s++)
		i++;
	return i;
}