shithub: drawterm

ref: 50200c18937a227ab969b5b1aaa177220612e0e9
dir: /libc/runestrlen.c/

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

long
runestrlen(Rune *s)
{

	return runestrchr(s, 0) - s;
}