shithub: drawterm

ref: 2ca76dc7dec691eba587b2cd89dc1e9b2d05c141
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}