shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}