shithub: drawterm

ref: 3b45a5cf6cca3579712587082cc548a8e62dccda
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}