git: 9front

ref: 9e06c67c440294aef306e4ea5a6ed10d30b5412f
dir: /sys/src/cmd/unix/drawterm/libc/runestrlen.c/

View raw version
#include <u.h>
#include <libc.h>

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}