shithub: drawterm

ref: 7ba556c6b9e951b68df06e0982e67ec36f5de8c8
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}