shithub: drawterm

ref: 0e7c030533fcbeeb07a2978883be5b4f7aaf7c37
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}