shithub: drawterm

ref: 14564d23d2114ecff20ab73ff26db5d5db5c0320
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}