drawterm/libc/runestrlen.c
Russ Cox 934846f35c a
2005-08-08 12:50:13 +00:00

10 lines
94 B
C

#include <u.h>
#include <libc.h>
long
runestrlen(Rune *s)
{
return runestrchr(s, 0) - s;
}