shithub: drawterm

ref: 669c593fe8a9b4baa76e70d834a4187ae45f9499
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}