shithub: drawterm

ref: 638a4aaaa3a837efe603efcf48ce6e33a4fd4161
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}