shithub: drawterm

ref: 5b50d2da070cc4155ef09853cd088c69a9cbb220
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}