shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}