shithub: drawterm

ref: 86573f1aaf078c1c2fcd51beda36eaeaa06cfbf6
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}