shithub: drawterm

ref: 850af54157f2fd111576750e2028435de05dbf5f
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}