shithub: drawterm

ref: 673e3de9a2f59dbac9a845b2f28363b2bb9f0041
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}