conterm/libc/runestrlen.c

10 lines
94 B
C
Raw Normal View History

2005-08-08 16:50:13 +04:00
#include <u.h>
#include <libc.h>
long
runestrlen(Rune *s)
{
return runestrchr(s, 0) - s;
}