shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}