shithub: drawterm

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

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}