shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}