shithub: drawterm

ref: c695fe65030f687f01bf87921bc0e3adb25a3815
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}