shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}