shithub: drawterm

ref: 189f67ae9bd7f3ed5c1a6b7b0460646c3f746c54
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}