]> mj.ucw.cz Git - libucw.git/blob - charset/strlen.c
New character set conversion routines from CharConv Library.
[libucw.git] / charset / strlen.c
1 /*
2  *      The UniCode Library -- String Length
3  *
4  *      (c) 1997 Martin Mares, <mj@atrey.karlin.mff.cuni.cz>
5  */
6
7 #include "unicode.h"
8
9 uns
10 Ustrlen(word *w)
11 {
12   word *z = w;
13
14   while (*z)
15     z++;
16   return z - w;
17 }