]> mj.ucw.cz Git - libucw.git/blob - charset/strlen.c
typo fixed
[libucw.git] / charset / strlen.c
1 /*
2  *      The UniCode Library -- String Length
3  *
4  *      (c) 1997 Martin Mares <mj@ucw.cz>
5  */
6
7 #include "lib/lib.h"
8 #include "charset/unicode.h"
9
10 uns
11 Ustrlen(word *w)
12 {
13   word *z = w;
14
15   while (*z)
16     z++;
17   return z - w;
18 }