shithub: drawterm

ref: 31e15655e642339a90344e6d97d5a788154000e6
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}